	.file	"extr_command.c_hangup.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Invalid param: %d is not a valid card id\n"
	.align 8
.LC1:
	.string	"%s: Sent HANGUP message to channel %lu\n"
	.text
	.p2align 4
	.type	hangup, @function
hangup:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	movsx	rbp, edi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	edi, ebp
	mov	rbx, rsi
	call	IS_VALID_CARD@PLT
	test	eax, eax
	je	.L6
	push	0
	.cfi_def_cfa_offset 40
	mov	r8d, DWORD PTR ceReqPhyDisconnect[rip]
	lea	r9d, 1[rbx]
	mov	edi, ebp
	push	0
	.cfi_def_cfa_offset 48
	mov	ecx, DWORD PTR ceReqClass1[rip]
	movzx	r9d, r9b
	mov	edx, DWORD PTR ceReqTypePhy[rip]
	mov	esi, DWORD PTR CEPID[rip]
	call	sendmessage@PLT
	lea	rdx, 1[rbx]
	lea	rdi, .LC1[rip]
	mov	r12d, eax
	mov	rax, QWORD PTR sc_adapter[rip]
	mov	rax, QWORD PTR [rax+rbp*8]
	mov	esi, DWORD PTR [rax]
	xor	eax, eax
	call	pr_debug@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rdx
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, ebp
	lea	rdi, .LC0[rip]
	call	pr_debug@PLT
	mov	r12d, DWORD PTR ENODEV[rip]
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	hangup, .-hangup
	.comm	sc_adapter,8,8
	.comm	ceReqTypePhy,4,4
	.comm	ceReqPhyDisconnect,4,4
	.comm	ceReqClass1,4,4
	.comm	ENODEV,4,4
	.comm	CEPID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_command.c_hangup.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Invalid param: %d is not a valid card id\012\000"
	.align	2
.LC1:
	.ascii	"%s: Sent HANGUP message to channel %lu\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	hangup, %function
hangup:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	sub	sp, sp, #16
	mov	r5, r1
	mov	r6, r0
	bl	IS_VALID_CARD
	cmp	r0, #0
	beq	.L6
	mov	r3, #0
	ldr	r2, .L7
	add	r5, r5, #1
	ldr	ip, [r2]
	and	r1, r5, #255
	str	r1, [sp, #4]
	ldr	r0, .L7+4
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	str	ip, [sp]
	str	r3, [sp, #12]
	str	r3, [sp, #8]
	ldr	r3, [r0]
	ldr	r2, [r2]
	mov	r0, r6
	ldr	r1, [r1]
	bl	sendmessage
	mov	r4, r0
	ldr	r3, .L7+16
	mov	r2, r5
	ldr	r3, [r3]
	ldr	r0, .L7+20
	ldr	r3, [r3, r6, lsl #2]
	ldr	r1, [r3]
	bl	pr_debug
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	mov	r1, r6
	ldr	r0, .L7+24
	bl	pr_debug
	ldr	r3, .L7+28
	ldr	r4, [r3]
	rsb	r4, r4, #0
	mov	r0, r4
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	.align	2
.L7:
	.word	ceReqPhyDisconnect
	.word	ceReqClass1
	.word	ceReqTypePhy
	.word	CEPID
	.word	sc_adapter
	.word	.LC1
	.word	.LC0
	.word	ENODEV
	.size	hangup, .-hangup
	.comm	sc_adapter,4,4
	.comm	ceReqTypePhy,4,4
	.comm	ceReqPhyDisconnect,4,4
	.comm	ceReqClass1,4,4
	.comm	ENODEV,4,4
	.comm	CEPID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
