	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2400m_set_init_config
_i2400m_set_init_config:                ## @i2400m_set_init_config
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_i2400m_dev
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rax, -96(%rbp)                 ## 8-byte Spill
	movq	%rax, %rsi
	movq	%rbx, -112(%rbp)                ## 8-byte Spill
	movq	%rbx, %rcx
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_d_fnstart
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%rbx,8), %rax
	movl	(%rax), %edi
	callq	_le16_to_cpu
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r15d
	addl	$4, %r15d
	incl	%ebx
	cmpq	%r13, %rbx
	jb	LBB0_3
## %bb.4:
	xorl	%edi, %edi
	cmpl	$9, %ebx
	setae	%dil
	callq	_WARN_ON
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	leal	24(%r15), %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%edi, -100(%rbp)                ## 4-byte Spill
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	%rax, %rbx
	movq	_I2400M_MT_SET_INIT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 8(%rbx)
	movq	_I2400M_L3L4_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r12
	addq	$24, %r12
	movq	%r13, -120(%rbp)                ## 8-byte Spill
	movq	%r14, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13,%r14,8), %r15
	movl	(%r15), %edi
	callq	_le16_to_cpu
	movl	%eax, %ebx
	addl	$4, %ebx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	addq	%rbx, %r12
	incl	%r14d
	cmpq	-120(%rbp), %r14                ## 8-byte Folded Reload
	jb	LBB0_6
## %bb.7:
	movq	-120(%rbp), %rbx                ## 8-byte Reload
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movl	-100(%rbp), %edx                ## 4-byte Reload
	callq	_i2400m_msg_to_dev
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.1(%rip), %rsi
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r13, %r14
	movq	%rbx, %r13
	jmp	LBB0_12
LBB0_1:
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_9:
	movq	%r15, %rdi
	callq	_wimax_msg_data
	leaq	-80(%rbp), %rsi
	movl	%eax, %edi
	movl	$32, %edx
	callq	_i2400m_msg_check_status
	movl	%eax, %r12d
	testl	%eax, %eax
	movq	%r13, %r14
	movq	%rbx, %r13
	jns	LBB0_11
## %bb.10:
	movq	_I2400M_MT_SET_INIT_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	-80(%rbp), %r8
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_11:
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_12:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_kfree
LBB0_13:
	movl	%r12d, (%rsp)
	leaq	L_.str.3(%rip), %rdx
	movl	$3, %edi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%r14, %r8
	movq	%r13, %r9
	callq	_d_fnend
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r12d, %eax
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"(i2400m %p arg %p args %zu)\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_I2400M_MT_SET_INIT_CONFIG,4,2  ## @I2400M_MT_SET_INIT_CONFIG
	.comm	_I2400M_L3L4_VERSION,4,2        ## @I2400M_L3L4_VERSION
L_.str.1:                               ## @.str.1
	.asciz	"Failed to issue 'init config' command: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"'init config' (0x%04x) command failed: %d - %s\n"

L_.str.3:                               ## @.str.3
	.asciz	"(i2400m %p arg %p args %zu) = %d\n"

	.no_dead_strip	_i2400m_set_init_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2400m_set_init_config
_i2400m_set_init_config:                ; @i2400m_set_init_config
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x2
	mov	x20, x1
	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, #56]
	bl	_i2400m_dev
	mov	x22, x0
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_d_fnstart
	cbz	x19, LBB0_8
; %bb.1:
	mov	x23, #0
	mov	w25, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, x23, lsl #3]
	ldr	w0, [x8]
	bl	_le16_to_cpu
	add	w8, w25, w0
	add	w25, w8, #4
	add	w23, w23, #1
	cmp	x23, x19
	b.lo	LBB0_2
; %bb.3:
	cmp	w23, #8
	cset	w0, hi
	bl	_WARN_ON
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	w26, [x8]
	add	w24, w25, #24
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_kzalloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x23, x0
Lloh11:
	adrp	x8, _I2400M_MT_SET_INIT_CONFIG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _I2400M_MT_SET_INIT_CONFIG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x23, #16]
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [x23, #8]
Lloh14:
	adrp	x8, _I2400M_L3L4_VERSION@GOTPAGE
Lloh15:
	ldr	x8, [x8, _I2400M_L3L4_VERSION@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	mov	x28, #0
	str	x0, [x23]
	add	x25, x23, #24
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x26, [x20, x28, lsl #3]
	ldr	w0, [x26]
	bl	_le16_to_cpu
	add	w27, w0, #4
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
	bl	_memcpy
	add	x25, x25, x27
	add	w28, w28, #1
	cmp	x28, x19
	b.lo	LBB0_5
; %bb.6:
	mov	x0, x21
	mov	x1, x23
	mov	x2, x24
	bl	_i2400m_msg_to_dev
	mov	x25, x0
	bl	_PTR_ERR
	mov	x24, x0
	mov	x0, x25
	bl	_IS_ERR
	cbz	x0, LBB0_10
; %bb.7:
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	mov	x2, x24
	bl	_dev_err
	b	LBB0_13
LBB0_8:
	mov	w24, #0
	b	LBB0_14
LBB0_9:
	neg	w24, w26
	b	LBB0_14
LBB0_10:
	mov	x0, x25
	bl	_wimax_msg_data
	add	x26, sp, #24
	add	x1, sp, #24
	mov	w2, #32
	bl	_i2400m_msg_check_status
	mov	x24, x0
	tbz	w0, #31, LBB0_12
; %bb.11:
Lloh19:
	adrp	x8, _I2400M_MT_SET_INIT_CONFIG@GOTPAGE
Lloh20:
	ldr	x8, [x8, _I2400M_MT_SET_INIT_CONFIG@GOTPAGEOFF]
Lloh21:
	ldr	w2, [x8]
	stp	x24, x26, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_dev_err
LBB0_12:
	mov	x0, x25
	bl	_kfree_skb
LBB0_13:
	mov	x0, x23
	bl	_kfree
LBB0_14:
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w0, #3
	mov	x1, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	mov	x6, x24
	bl	_d_fnend
	ldr	x8, [sp, #56]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x24
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"(i2400m %p arg %p args %zu)\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_I2400M_MT_SET_INIT_CONFIG,4,2  ; @I2400M_MT_SET_INIT_CONFIG
	.comm	_I2400M_L3L4_VERSION,4,2        ; @I2400M_L3L4_VERSION
l_.str.1:                               ; @.str.1
	.asciz	"Failed to issue 'init config' command: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"'init config' (0x%04x) command failed: %d - %s\n"

l_.str.3:                               ; @.str.3
	.asciz	"(i2400m %p arg %p args %zu) = %d\n"

	.no_dead_strip	_i2400m_set_init_config
.subsections_via_symbols
