	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function il3945_send_rxon_assoc
_il3945_send_rxon_assoc:                ## @il3945_send_rxon_assoc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movl	$40, -48(%rbp)
	movq	$0, -40(%rbp)
	leaq	-88(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	_CMD_WANT_SKB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -24(%rbp)
	movq	_C_RXON_ASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -20(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	cmpq	32(%rdi), %rax
	jne	LBB0_5
## %bb.1:
	cmpq	40(%rbx), %rcx
	jne	LBB0_5
## %bb.2:
	movq	16(%rbx), %rdx
	cmpq	48(%rbx), %rdx
	jne	LBB0_5
## %bb.3:
	movq	24(%rbx), %rdx
	cmpq	56(%rbx), %rdx
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_D_INFO
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_5:
	movq	%rax, -88(%rbp)
	movq	%rcx, -80(%rbp)
	movdqu	16(%rbx), %xmm0
	pshufd	$78, %xmm0, %xmm0               ## xmm0 = xmm0[2,3,0,1]
	movdqu	%xmm0, -72(%rbp)
	movq	$0, -56(%rbp)
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_il_send_cmd_sync
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_10
## %bb.6:
	movq	-40(%rbp), %rsi
	movq	_IL_CMD_FAILED_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_7
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	callq	_IL_ERR
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	-40(%rbp), %rsi
	jmp	LBB0_9
LBB0_7:
	xorl	%r14d, %r14d
LBB0_9:
	movq	%rbx, %rdi
	callq	_il_free_pages
LBB0_10:
	movl	%r14d, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_WANT_SKB,4,2               ## @CMD_WANT_SKB
	.comm	_C_RXON_ASSOC,4,2               ## @C_RXON_ASSOC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Using current RXON_ASSOC.  Not resending.\n"

	.comm	_IL_CMD_FAILED_MSK,4,2          ## @IL_CMD_FAILED_MSK
L_.str.1:                               ## @.str.1
	.asciz	"Bad return from C_RXON_ASSOC command\n"

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_il3945_send_rxon_assoc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function il3945_send_rxon_assoc
_il3945_send_rxon_assoc:                ; @il3945_send_rxon_assoc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w8, #40
	str	w8, [sp, #8]
	add	x8, sp, #40
	stp	xzr, x8, [sp, #16]
Lloh0:
	adrp	x8, _CMD_WANT_SKB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_WANT_SKB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _C_RXON_ASSOC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _C_RXON_ASSOC@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #32]
	ldr	x10, [x0, #32]
	ldp	x9, x8, [x0]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.1:
	ldr	x10, [x19, #40]
	cmp	x8, x10
	b.ne	LBB0_5
; %bb.2:
	ldr	x10, [x19, #16]
	ldr	x11, [x19, #48]
	cmp	x10, x11
	b.ne	LBB0_5
; %bb.3:
	ldr	x10, [x19, #24]
	ldr	x11, [x19, #56]
	cmp	x10, x11
	b.ne	LBB0_5
; %bb.4:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_D_INFO
	mov	w20, #0
	b	LBB0_10
LBB0_5:
	stp	x9, x8, [sp, #40]
	ldr	q0, [x19, #16]
	ext.16b	v0, v0, v0, #8
	stur	q0, [sp, #56]
	str	xzr, [sp, #72]
	add	x1, sp, #8
	mov	x0, x19
	bl	_il_send_cmd_sync
	mov	x20, x0
	cbnz	w0, LBB0_10
; %bb.6:
	ldr	x1, [sp, #16]
	ldr	w8, [x1]
Lloh8:
	adrp	x9, _IL_CMD_FAILED_MSK@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IL_CMD_FAILED_MSK@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.7:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_IL_ERR
Lloh13:
	adrp	x8, _EIO@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w20, w8
	ldr	x1, [sp, #16]
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x19
	bl	_il_free_pages
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_WANT_SKB,4,2               ; @CMD_WANT_SKB
	.comm	_C_RXON_ASSOC,4,2               ; @C_RXON_ASSOC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Using current RXON_ASSOC.  Not resending.\n"

	.comm	_IL_CMD_FAILED_MSK,4,2          ; @IL_CMD_FAILED_MSK
l_.str.1:                               ; @.str.1
	.asciz	"Bad return from C_RXON_ASSOC command\n"

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_il3945_send_rxon_assoc
.subsections_via_symbols
