	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2400ms_enable_function
_i2400ms_enable_function:               ## @i2400ms_enable_function
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%r14, %rsi
	movq	%r14, %rcx
	callq	_d_fnstart
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_get_jiffies_64
	movq	%rax, %r15
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.1:
	movq	_ioe_timeout@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	imulq	%rax, %rcx
	addq	%rcx, %r15
	xorl	%eax, %eax
	callq	_get_jiffies_64
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_time_before64
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	leaq	L_.str.2(%rip), %r12
	movq	_I2400MS_INIT_SLEEP_INTERVAL@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_sdio_claim_host
	movq	%r14, %rdi
	callq	_sdio_enable_func
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ebx
	movl	$2, %edi
	movq	%r14, %rsi
	movq	%r12, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_d_printf
	movq	%r14, %rdi
	callq	_sdio_disable_func
	movq	%r14, %rdi
	callq	_sdio_release_host
	movl	(%r13), %edi
	callq	_msleep
	xorl	%eax, %eax
	callq	_get_jiffies_64
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_time_before64
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_7
LBB0_2:
	negl	%r12d
	movl	%r12d, %ebx
LBB0_7:
	movq	_ETIME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	xorl	%ebx, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_9
LBB0_5:
	movq	%r14, %rdi
	callq	_sdio_release_host
	leaq	L_.str.1(%rip), %rdx
	xorl	%ebx, %ebx
	movl	$2, %edi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_d_printf
LBB0_9:
	leaq	L_.str.4(%rip), %rdx
	movl	$3, %edi
	movq	%r14, %rsi
	movq	%r14, %rcx
	movl	%ebx, %r8d
	callq	_d_fnend
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(func %p)\n"

	.comm	_ioe_timeout,4,2                ## @ioe_timeout
	.comm	_HZ,4,2                         ## @HZ
	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"SDIO function enabled\n"

L_.str.2:                               ## @.str.2
	.asciz	"SDIO function failed to enable: %d\n"

	.comm	_I2400MS_INIT_SLEEP_INTERVAL,4,2 ## @I2400MS_INIT_SLEEP_INTERVAL
	.comm	_ETIME,4,2                      ## @ETIME
L_.str.3:                               ## @.str.3
	.asciz	"Can't enable WiMAX function;  has the function been enabled?\n"

L_.str.4:                               ## @.str.4
	.asciz	"(func %p) = %d\n"

	.no_dead_strip	_i2400ms_enable_function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2400ms_enable_function
_i2400ms_enable_function:               ; @i2400ms_enable_function
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x19
	mov	x3, x19
	bl	_d_fnstart
	bl	_get_jiffies_64
Lloh2:
	adrp	x23, _ENODEV@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ENODEV@GOTPAGEOFF]
	ldr	w20, [x23]
	cbz	w20, LBB0_6
; %bb.1:
Lloh4:
	adrp	x8, _ioe_timeout@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ioe_timeout@GOTPAGEOFF]
Lloh6:
	ldrsw	x8, [x8]
Lloh7:
	adrp	x9, _HZ@GOTPAGE
Lloh8:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh9:
	ldrsw	x9, [x9]
	madd	x21, x9, x8, x0
	bl	_get_jiffies_64
	mov	x1, x21
	bl	_time_before64
	cbz	x0, LBB0_5
; %bb.2:
Lloh10:
	adrp	x22, l_.str.2@PAGE
Lloh11:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh12:
	adrp	x24, _I2400MS_INIT_SLEEP_INTERVAL@GOTPAGE
Lloh13:
	ldr	x24, [x24, _I2400MS_INIT_SLEEP_INTERVAL@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_sdio_claim_host
	mov	x0, x19
	bl	_sdio_enable_func
	mov	x20, x0
	cbz	w0, LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x20, [sp]
	mov	w0, #2
	mov	x1, x19
	mov	x2, x22
	bl	_d_printf
	mov	x0, x19
	bl	_sdio_disable_func
	mov	x0, x19
	bl	_sdio_release_host
	ldr	w0, [x24]
	bl	_msleep
	bl	_get_jiffies_64
	mov	x1, x21
	bl	_time_before64
	cbnz	x0, LBB0_3
	b	LBB0_6
LBB0_5:
	neg	w20, w20
LBB0_6:
Lloh14:
	adrp	x8, _ETIME@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ETIME@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_9
; %bb.7:
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	ldr	w8, [x23]
	neg	w20, w8
	b	LBB0_9
LBB0_8:
	mov	x0, x19
	bl	_sdio_release_host
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w0, #2
	mov	x1, x19
	bl	_d_printf
LBB0_9:
Lloh21:
	adrp	x2, l_.str.4@PAGE
Lloh22:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w0, #3
	mov	x1, x19
	mov	x3, x19
	mov	x4, x20
	bl	_d_fnend
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(func %p)\n"

	.comm	_ioe_timeout,4,2                ; @ioe_timeout
	.comm	_HZ,4,2                         ; @HZ
	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"SDIO function enabled\n"

l_.str.2:                               ; @.str.2
	.asciz	"SDIO function failed to enable: %d\n"

	.comm	_I2400MS_INIT_SLEEP_INTERVAL,4,2 ; @I2400MS_INIT_SLEEP_INTERVAL
	.comm	_ETIME,4,2                      ; @ETIME
l_.str.3:                               ; @.str.3
	.asciz	"Can't enable WiMAX function;  has the function been enabled?\n"

l_.str.4:                               ; @.str.4
	.asciz	"(func %p) = %d\n"

	.no_dead_strip	_i2400ms_enable_function
.subsections_via_symbols
