	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_setup                   ## -- Begin function i2400m_setup
	.p2align	4, 0x90
_i2400m_setup:                          ## @i2400m_setup
	.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, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	callq	_i2400m_dev
	movq	%rax, %rbx
	movq	16(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	callq	_d_fnstart
	movl	36(%r14), %r12d
	movq	(%rbx), %rax
	movq	(%rax), %r13
	movq	%rbx, %rdi
	callq	_dev_name
	leaq	L_.str.1(%rip), %rdx
	movl	%r12d, %edi
	movl	$4, %esi
	movq	%r13, %rcx
	movq	%rax, %r8
	callq	_snprintf
	movq	_I2400M_BM_CMD_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_kzalloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_I2400M_BM_ACK_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %esi
	callq	_kzalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rdi
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %esi
	callq	_i2400m_bootrom_init
	testl	%eax, %eax
	js	LBB0_5
## %bb.7:
	movq	%r14, %rdi
	callq	_i2400m_read_mac_addr
	testl	%eax, %eax
	js	LBB0_8
## %bb.9:
	movl	40(%r14), %edi
	callq	_random_ether_addr
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	callq	_register_netdev
	testl	%eax, %eax
	js	LBB0_10
## %bb.11:
	movq	%r12, %rdi
	callq	_netif_carrier_off
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_i2400m_dev_start
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:
	leaq	16(%r14), %r13
	movq	_i2400m_op_msg_from_user@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%r14)
	movq	_i2400m_op_rfkill_sw_toggle@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%r14)
	movq	_i2400m_op_reset@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_wimax_dev_add
	testl	%eax, %eax
	js	LBB0_14
## %bb.15:
	movq	_WIMAX_ST_UNINITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_wimax_state_change
	movq	_i2400m_dev_attr_group@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_sysfs_create_group
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movq	%r14, %rdi
	callq	_i2400m_debugfs_add
	movl	%eax, %r15d
	testl	%eax, %eax
	jns	LBB0_24
## %bb.18:
	leaq	L_.str.7(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	(%r13), %rdi
	movq	_i2400m_dev_attr_group@GOTPCREL(%rip), %rsi
	callq	_sysfs_remove_group
	jmp	LBB0_19
LBB0_1:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_24
LBB0_3:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_23
LBB0_5:
	movl	%eax, %r15d
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_6
LBB0_8:
	movl	%eax, %r15d
	jmp	LBB0_22
LBB0_10:
	movl	%eax, %r15d
	leaq	L_.str.5(%rip), %rsi
LBB0_6:
	movq	%rbx, %rdi
	movl	%r15d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_22
LBB0_12:
	movl	%eax, %r15d
	jmp	LBB0_21
LBB0_14:
	movl	%eax, %r15d
	jmp	LBB0_20
LBB0_16:
	movl	%eax, %r15d
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_19:
	movq	%r13, %rdi
	callq	_wimax_dev_rm
LBB0_20:
	movq	%r14, %rdi
	callq	_i2400m_dev_stop
LBB0_21:
	movq	%r12, %rdi
	callq	_unregister_netdev
LBB0_22:
	movq	8(%r14), %rdi
	callq	_kfree
LBB0_23:
	movq	(%r14), %rdi
	callq	_kfree
LBB0_24:
	leaq	L_.str.8(%rip), %rdx
	movl	$3, %edi
	movq	%rbx, %rsi
	movq	%r14, %rcx
	movl	%r15d, %r8d
	callq	_d_fnend
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(i2400m %p)\n"

L_.str.1:                               ## @.str.1
	.asciz	"i2400m-%s:%s"

	.comm	_I2400M_BM_CMD_BUF_SIZE,4,2     ## @I2400M_BM_CMD_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"cannot allocate USB command buffer\n"

	.comm	_I2400M_BM_ACK_BUF_SIZE,4,2     ## @I2400M_BM_ACK_BUF_SIZE
L_.str.3:                               ## @.str.3
	.asciz	"cannot allocate USB ack buffer\n"

L_.str.4:                               ## @.str.4
	.asciz	"read mac addr: bootrom init failed: %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"cannot register i2400m network device: %d\n"

	.comm	_i2400m_op_msg_from_user,4,2    ## @i2400m_op_msg_from_user
	.comm	_i2400m_op_rfkill_sw_toggle,4,2 ## @i2400m_op_rfkill_sw_toggle
	.comm	_i2400m_op_reset,4,2            ## @i2400m_op_reset
	.comm	_WIMAX_ST_UNINITIALIZED,4,2     ## @WIMAX_ST_UNINITIALIZED
	.comm	_i2400m_dev_attr_group,4,2      ## @i2400m_dev_attr_group
L_.str.6:                               ## @.str.6
	.asciz	"cannot setup i2400m's sysfs: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"cannot setup i2400m's debugfs: %d\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i2400m_setup                   ; -- Begin function i2400m_setup
	.p2align	2
_i2400m_setup:                          ; @i2400m_setup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w22, w8
	bl	_i2400m_dev
	mov	x20, x0
	mov	x23, x19
	ldr	x21, [x23, #16]!
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x20
	mov	x3, x19
	bl	_d_fnstart
	ldr	w25, [x19, #36]
	ldr	x8, [x20]
	ldr	x26, [x8]
	mov	x0, x20
	bl	_dev_name
	mov	x4, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x25
	mov	w1, #4
	mov	x3, x26
	bl	_snprintf
Lloh7:
	adrp	x8, _I2400M_BM_CMD_BUF_SIZE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _I2400M_BM_CMD_BUF_SIZE@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh11:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x25]
	bl	_kzalloc
	str	x0, [x19]
	cbz	x0, LBB0_10
; %bb.1:
Lloh12:
	adrp	x8, _I2400M_BM_ACK_BUF_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _I2400M_BM_ACK_BUF_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	ldr	w1, [x25]
	bl	_kzalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_11
; %bb.2:
	mov	x0, x19
	mov	x1, x24
	bl	_i2400m_bootrom_init
	tbnz	w0, #31, LBB0_12
; %bb.3:
	mov	x0, x19
	bl	_i2400m_read_mac_addr
	tbnz	w0, #31, LBB0_13
; %bb.4:
	ldr	w0, [x19, #40]
	bl	_random_ether_addr
	mov	x0, x21
	bl	_register_netdev
	tbnz	w0, #31, LBB0_14
; %bb.5:
	mov	x0, x21
	bl	_netif_carrier_off
	mov	x0, x19
	mov	x1, x24
	bl	_i2400m_dev_start
	tbnz	w0, #31, LBB0_15
; %bb.6:
Lloh15:
	adrp	x8, _i2400m_op_msg_from_user@GOTPAGE
Lloh16:
	ldr	x8, [x8, _i2400m_op_msg_from_user@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #32]
Lloh18:
	adrp	x8, _i2400m_op_rfkill_sw_toggle@GOTPAGE
Lloh19:
	ldr	x8, [x8, _i2400m_op_rfkill_sw_toggle@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _i2400m_op_reset@GOTPAGE
Lloh22:
	ldr	x9, [x9, _i2400m_op_reset@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #24]
	mov	x0, x23
	mov	x1, x21
	bl	_wimax_dev_add
	tbnz	w0, #31, LBB0_16
; %bb.7:
Lloh24:
	adrp	x8, _WIMAX_ST_UNINITIALIZED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WIMAX_ST_UNINITIALIZED@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_wimax_state_change
Lloh27:
	adrp	x1, _i2400m_dev_attr_group@GOTPAGE
Lloh28:
	ldr	x1, [x1, _i2400m_dev_attr_group@GOTPAGEOFF]
	mov	x0, x21
	bl	_sysfs_create_group
	tbnz	w0, #31, LBB0_17
; %bb.8:
	mov	x0, x19
	bl	_i2400m_debugfs_add
	mov	x22, x0
	tbz	w0, #31, LBB0_23
; %bb.9:
	mov	x8, x22
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.7@PAGE
Lloh30:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	ldr	x0, [x23]
Lloh31:
	adrp	x1, _i2400m_dev_attr_group@GOTPAGE
Lloh32:
	ldr	x1, [x1, _i2400m_dev_attr_group@GOTPAGEOFF]
	bl	_sysfs_remove_group
	b	LBB0_18
LBB0_10:
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_23
LBB0_11:
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_22
LBB0_12:
	mov	x22, x0
	str	x22, [sp]
Lloh37:
	adrp	x1, l_.str.4@PAGE
Lloh38:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_err
	b	LBB0_21
LBB0_13:
	mov	x22, x0
	b	LBB0_21
LBB0_14:
	mov	x22, x0
	str	x22, [sp]
Lloh39:
	adrp	x1, l_.str.5@PAGE
Lloh40:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	b	LBB0_21
LBB0_15:
	mov	x22, x0
	b	LBB0_20
LBB0_16:
	mov	x22, x0
	b	LBB0_19
LBB0_17:
	mov	x22, x0
	str	x22, [sp]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x20
	bl	_dev_err
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
LBB0_18:
	mov	x0, x23
	bl	_wimax_dev_rm
LBB0_19:
	mov	x0, x19
	bl	_i2400m_dev_stop
LBB0_20:
	mov	x0, x21
	bl	_unregister_netdev
LBB0_21:
	ldr	x0, [x19, #8]
	bl	_kfree
LBB0_22:
	ldr	x0, [x19]
	bl	_kfree
LBB0_23:
Lloh43:
	adrp	x2, l_.str.8@PAGE
Lloh44:
	add	x2, x2, l_.str.8@PAGEOFF
	mov	w0, #3
	mov	x1, x20
	mov	x3, x19
	mov	x4, x22
	bl	_d_fnend
	mov	x0, x22
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p)\n"

l_.str.1:                               ; @.str.1
	.asciz	"i2400m-%s:%s"

	.comm	_I2400M_BM_CMD_BUF_SIZE,4,2     ; @I2400M_BM_CMD_BUF_SIZE
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"cannot allocate USB command buffer\n"

	.comm	_I2400M_BM_ACK_BUF_SIZE,4,2     ; @I2400M_BM_ACK_BUF_SIZE
l_.str.3:                               ; @.str.3
	.asciz	"cannot allocate USB ack buffer\n"

l_.str.4:                               ; @.str.4
	.asciz	"read mac addr: bootrom init failed: %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"cannot register i2400m network device: %d\n"

	.comm	_i2400m_op_msg_from_user,4,2    ; @i2400m_op_msg_from_user
	.comm	_i2400m_op_rfkill_sw_toggle,4,2 ; @i2400m_op_rfkill_sw_toggle
	.comm	_i2400m_op_reset,4,2            ; @i2400m_op_reset
	.comm	_WIMAX_ST_UNINITIALIZED,4,2     ; @WIMAX_ST_UNINITIALIZED
	.comm	_i2400m_dev_attr_group,4,2      ; @i2400m_dev_attr_group
l_.str.6:                               ; @.str.6
	.asciz	"cannot setup i2400m's sysfs: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"cannot setup i2400m's debugfs: %d\n"

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

.subsections_via_symbols
