	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __i2400m_dev_start
___i2400m_dev_start:                    ## @__i2400m_dev_start
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	leaq	40(%rdi), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	48(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	callq	_i2400m_dev
	movl	(%r12), %r13d
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movq	%r12, %rcx
	callq	_d_fnstart
	movq	_EL3RST@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_i2400m_dev_bootstrap
	testl	%eax, %eax
	js	LBB0_9
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_i2400m_tx_setup
	testl	%eax, %eax
	js	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_i2400m_rx_setup
	testl	%eax, %eax
	js	LBB0_11
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	40(%r12), %edi
	callq	_create_singlethread_workqueue
	movq	%rax, 24(%r12)
	testq	%rax, %rax
	je	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	*8(%r12)
	testl	%eax, %eax
	js	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_i2400m_firmware_check
	testl	%eax, %eax
	js	LBB0_15
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_i2400m_check_mac_addr
	testl	%eax, %eax
	js	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, 16(%r12)
	movq	_WIMAX_ST_UNINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_wimax_state_change
	movq	%r12, %rdi
	callq	_i2400m_dev_initialize
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_16
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	jmp	LBB0_20
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	jmp	LBB0_19
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r14d, %r14d
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
	jmp	LBB0_17
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %r14d
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	*32(%r12)
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	24(%r12), %rdi
	callq	_destroy_workqueue
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_i2400m_rx_release
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%r12, %rdi
	callq	_i2400m_tx_release
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %eax
	addl	%r14d, %eax
	jne	LBB0_23
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, %r13d
	jle	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	decl	%r13d
	movq	_I2400M_BRI_MAC_REINIT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_I2400M_BRI_SOFT@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	jmp	LBB0_1
LBB0_23:
	leaq	L_.str.3(%rip), %rdx
	movl	$3, %edi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r12, %r8
	movl	%r14d, %r9d
	callq	_d_fnend
	movl	%r14d, %eax
	addq	$24, %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	"(i2400m %p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"cannot bootstrap device: %d\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.2:                               ## @.str.2
	.asciz	"cannot create workqueue\n"

	.comm	_WIMAX_ST_UNINITIALIZED,4,2     ## @WIMAX_ST_UNINITIALIZED
L_.str.3:                               ## @.str.3
	.asciz	"(net_dev %p [i2400m %p]) = %d\n"

	.comm	_EL3RST,4,2                     ## @EL3RST
	.comm	_I2400M_BRI_SOFT,4,2            ## @I2400M_BRI_SOFT
	.comm	_I2400M_BRI_MAC_REINIT,4,2      ## @I2400M_BRI_MAC_REINIT
	.no_dead_strip	___i2400m_dev_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __i2400m_dev_start
___i2400m_dev_start:                    ; @__i2400m_dev_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x25, x1
	mov	x19, x0
	add	x9, x0, #40
	ldr	x8, [x0, #48]
	stp	x8, x9, [sp, #16]               ; 16-byte Folded Spill
	bl	_i2400m_dev
	mov	x21, x0
	ldr	w26, [x19]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x21
	mov	x3, x19
	bl	_d_fnstart
Lloh2:
	adrp	x23, l_.str.1@PAGE
Lloh3:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh4:
	adrp	x27, _EL3RST@GOTPAGE
Lloh5:
	ldr	x27, [x27, _EL3RST@GOTPAGEOFF]
Lloh6:
	adrp	x28, _I2400M_BRI_SOFT@GOTPAGE
Lloh7:
	ldr	x28, [x28, _I2400M_BRI_SOFT@GOTPAGEOFF]
Lloh8:
	adrp	x20, _I2400M_BRI_MAC_REINIT@GOTPAGE
Lloh9:
	ldr	x20, [x20, _I2400M_BRI_MAC_REINIT@GOTPAGEOFF]
Lloh10:
	adrp	x22, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x22, [x22, _ENOMEM@GOTPAGEOFF]
Lloh12:
	adrp	x24, l_.str.2@PAGE
Lloh13:
	add	x24, x24, l_.str.2@PAGEOFF
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x25
	bl	_i2400m_dev_bootstrap
	tbnz	w0, #31, LBB0_9
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_i2400m_tx_setup
	tbnz	w0, #31, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_i2400m_rx_setup
	tbnz	w0, #31, LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w0, [x19, #40]
	bl	_create_singlethread_workqueue
	str	x0, [x19, #24]
	cbz	x0, LBB0_12
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_i2400m_firmware_check
	tbnz	w0, #31, LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_i2400m_check_mac_addr
	tbnz	w0, #31, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w8, #1
	str	w8, [x19, #16]
Lloh14:
	adrp	x8, _WIMAX_ST_UNINITIALIZED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _WIMAX_ST_UNINITIALIZED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	bl	_wimax_state_change
	mov	x0, x19
	bl	_i2400m_dev_initialize
	mov	x25, x0
	tbnz	w0, #31, LBB0_15
	b	LBB0_21
LBB0_9:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	str	x25, [sp]
	mov	x0, x21
	mov	x1, x23
	bl	_dev_err
	b	LBB0_19
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	b	LBB0_19
LBB0_11:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x22]
	neg	w25, w8
	mov	x0, x21
	mov	x1, x24
	bl	_dev_err
	b	LBB0_17
LBB0_13:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	b	LBB0_16
LBB0_14:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
LBB0_15:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #32]
	mov	x0, x19
	blr	x8
LBB0_16:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x19, #24]
	bl	_destroy_workqueue
LBB0_17:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_i2400m_rx_release
LBB0_18:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x19
	bl	_i2400m_tx_release
LBB0_19:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x27]
	cmn	w25, w8
	ccmp	w26, #1, #8, eq
	b.lt	LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_1 Depth=1
	sub	w26, w26, #1
	ldr	w8, [x28]
	ldr	w9, [x20]
	orr	w25, w9, w8
	b	LBB0_1
LBB0_21:
Lloh17:
	adrp	x2, l_.str.3@PAGE
Lloh18:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #3
	mov	x1, x21
	ldr	x3, [sp, #16]                   ; 8-byte Folded Reload
	mov	x4, x19
	mov	x5, x25
	bl	_d_fnend
	mov	x0, x25
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"cannot bootstrap device: %d\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.2:                               ; @.str.2
	.asciz	"cannot create workqueue\n"

	.comm	_WIMAX_ST_UNINITIALIZED,4,2     ; @WIMAX_ST_UNINITIALIZED
l_.str.3:                               ; @.str.3
	.asciz	"(net_dev %p [i2400m %p]) = %d\n"

	.comm	_EL3RST,4,2                     ; @EL3RST
	.comm	_I2400M_BRI_SOFT,4,2            ; @I2400M_BRI_SOFT
	.comm	_I2400M_BRI_MAC_REINIT,4,2      ; @I2400M_BRI_MAC_REINIT
	.no_dead_strip	___i2400m_dev_start
.subsections_via_symbols
