	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_cmd_exit_idle           ## -- Begin function i2400m_cmd_exit_idle
	.p2align	4, 0x90
_i2400m_cmd_exit_idle:                  ## @i2400m_cmd_exit_idle
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_i2400m_dev
	movq	%rax, %r14
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$24, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movq	_I2400M_MT_CMD_EXIT_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%r15)
	movq	$0, 8(%r15)
	movq	_I2400M_L3L4_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, (%r15)
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$24, %edx
	callq	_i2400m_msg_to_dev
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_err
	jmp	LBB0_4
LBB0_3:
	movq	%r12, %rdi
	callq	_wimax_msg_data
	leaq	-80(%rbp), %rsi
	movl	%eax, %edi
	movl	$32, %edx
	callq	_i2400m_msg_check_status
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_kfree_skb
LBB0_4:
	movq	%r15, %rdi
	callq	_kfree
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%ebx, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_I2400M_MT_CMD_EXIT_IDLE,4,2    ## @I2400M_MT_CMD_EXIT_IDLE
	.comm	_I2400M_L3L4_VERSION,4,2        ## @I2400M_L3L4_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to issue 'exit idle' command: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_cmd_exit_idle           ; -- Begin function i2400m_cmd_exit_idle
	.p2align	2
_i2400m_cmd_exit_idle:                  ; @i2400m_cmd_exit_idle
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_i2400m_dev
	mov	x20, x0
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
Lloh6:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w0, #24
	bl	_kzalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh9:
	adrp	x8, _I2400M_MT_CMD_EXIT_IDLE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _I2400M_MT_CMD_EXIT_IDLE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	stp	xzr, x0, [x19, #8]
Lloh12:
	adrp	x8, _I2400M_L3L4_VERSION@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I2400M_L3L4_VERSION@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x19]
	mov	x0, x21
	mov	x1, x19
	mov	w2, #24
	bl	_i2400m_msg_to_dev
	mov	x22, x0
	bl	_PTR_ERR
	mov	x21, x0
	mov	x0, x22
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
Lloh15:
	adrp	x1, l_.str@PAGE
Lloh16:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_dev_err
	b	LBB0_5
LBB0_3:
	neg	w21, w22
	b	LBB0_6
LBB0_4:
	mov	x0, x22
	bl	_wimax_msg_data
	add	x1, sp, #8
	mov	w2, #32
	bl	_i2400m_msg_check_status
	mov	x21, x0
	mov	x0, x22
	bl	_kfree_skb
LBB0_5:
	mov	x0, x19
	bl	_kfree
LBB0_6:
	ldr	x8, [sp, #40]
Lloh17:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh18:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I2400M_MT_CMD_EXIT_IDLE,4,2    ; @I2400M_MT_CMD_EXIT_IDLE
	.comm	_I2400M_L3L4_VERSION,4,2        ; @I2400M_L3L4_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to issue 'exit idle' command: %d\n"

.subsections_via_symbols
