	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libipw_handle_assoc_resp
_libipw_handle_assoc_resp:              ## @libipw_handle_assoc_resp
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, -120(%rbp)
	movups	%xmm0, -136(%rbp)
	movups	%xmm0, -152(%rbp)
	movups	%xmm0, -168(%rbp)
	movups	%xmm0, -184(%rbp)
	movq	$0, -104(%rbp)
	movq	8(%rdi), %rbx
	movl	$0, -192(%rbp)
	movups	%xmm0, -80(%rbp)
	movups	%xmm0, -64(%rbp)
	movl	20(%rsi), %edi
	callq	_le16_to_cpu
	movq	%rax, -88(%rbp)
	movl	16(%r13), %edi
	callq	_le16_to_cpu
	movq	%rax, -96(%rbp)
	movq	8(%r13), %rsi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%edi, %edi
	callq	_memcpy
	movl	4(%r13), %edi
	callq	_le16_to_cpu
	movl	%eax, -188(%rbp)
	movq	_jiffies@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -112(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -128(%rbp)
	movq	_WLAN_CAPABILITY_IBSS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	andl	(%rcx), %eax
	movups	%xmm0, -144(%rbp)
	setne	%dl
	leal	(%rdx,%rdx,2), %eax
	movl	%eax, -184(%rbp)
	movq	(%r12), %rax
	movq	_LIBIPW_52GHZ_BAND@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	movl	16(%r12), %eax
	movl	%eax, -152(%rbp)
	jmp	LBB0_3
LBB0_2:
	movq	_NETWORK_HAS_CCK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -192(%rbp)
LBB0_3:
	xorps	%xmm0, %xmm0
	movups	%xmm0, -168(%rbp)
	movl	(%r13), %edi
	movq	8(%r12), %rsi
	addq	$-24, %rsi
	leaq	-192(%rbp), %rdx
	callq	_libipw_parse_info_param
	movl	$1, %ebx
	testq	%rax, %rax
	jne	LBB0_14
## %bb.4:
	movl	$0, -176(%rbp)
	movq	(%r12), %rax
	cmpq	(%r15), %rax
	jne	LBB0_6
## %bb.5:
	movq	_IEEE_A@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_11
LBB0_6:
	movl	-192(%rbp), %ecx
	movq	_NETWORK_HAS_OFDM@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_7
## %bb.8:
	movq	_IEEE_G@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -176(%rbp)
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	movq	_NETWORK_HAS_CCK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	je	LBB0_12
## %bb.10:
	movq	_IEEE_B@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_11:
	movl	%eax, -176(%rbp)
LBB0_12:
	leaq	-180(%rbp), %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r14), %rcx
	xorl	%ebx, %ebx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:
	leaq	-192(%rbp), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	*%rcx
LBB0_14:
	movl	%ebx, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ## @WLAN_CAPABILITY_IBSS
	.comm	_LIBIPW_52GHZ_BAND,8,3          ## @LIBIPW_52GHZ_BAND
	.comm	_NETWORK_HAS_CCK,4,2            ## @NETWORK_HAS_CCK
	.comm	_IEEE_A,4,2                     ## @IEEE_A
	.comm	_NETWORK_HAS_OFDM,4,2           ## @NETWORK_HAS_OFDM
	.comm	_IEEE_G,4,2                     ## @IEEE_G
	.comm	_IEEE_B,4,2                     ## @IEEE_B
	.no_dead_strip	_libipw_handle_assoc_resp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libipw_handle_assoc_resp
_libipw_handle_assoc_resp:              ; @libipw_handle_assoc_resp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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	x22, x2
	mov	x19, x1
	mov	x21, x0
	str	xzr, [sp, #88]
	movi.2d	v0, #0000000000000000
	stur	q0, [sp, #72]
	stur	q0, [sp, #56]
	stur	q0, [sp, #40]
	stur	q0, [sp, #24]
	stur	q0, [sp, #8]
	ldr	x20, [x0, #8]
	str	wzr, [sp]
	stp	q0, q0, [sp, #112]
	ldr	w0, [x1, #20]
	bl	_le16_to_cpu
	str	x0, [sp, #104]
	ldr	w0, [x19, #16]
	bl	_le16_to_cpu
	str	x0, [sp, #96]
	ldr	x1, [x19, #8]
Lloh0:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, #0
	bl	_memcpy
	ldr	w0, [x19, #4]
	bl	_le16_to_cpu
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #80]
Lloh6:
	adrp	x8, _WLAN_CAPABILITY_IBSS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WLAN_CAPABILITY_IBSS@GOTPAGEOFF]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
Lloh8:
	ldr	w8, [x8]
	tst	w8, w0
	mov	w8, #3
	csel	w8, wzr, w8, eq
	stp	w0, w8, [sp, #4]
	ldr	x8, [x22]
Lloh9:
	adrp	x23, _LIBIPW_52GHZ_BAND@GOTPAGE
Lloh10:
	ldr	x23, [x23, _LIBIPW_52GHZ_BAND@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w8, [x22, #16]
	str	w8, [sp, #40]
	b	LBB0_3
LBB0_2:
Lloh11:
	adrp	x8, _NETWORK_HAS_CCK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NETWORK_HAS_CCK@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [sp]
LBB0_3:
	stp	xzr, xzr, [sp, #24]
	ldr	w0, [x19]
	ldr	x8, [x22, #8]
	sub	x1, x8, #24
	mov	x2, sp
	bl	_libipw_parse_info_param
	cbz	x0, LBB0_5
; %bb.4:
	mov	w0, #1
	b	LBB0_16
LBB0_5:
	str	wzr, [sp, #16]
	ldr	x8, [x22]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh14:
	adrp	x8, _IEEE_A@GOTPAGE
Lloh15:
	ldr	x8, [x8, _IEEE_A@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	b	LBB0_12
LBB0_7:
	ldr	w8, [sp]
Lloh17:
	adrp	x9, _NETWORK_HAS_OFDM@GOTPAGE
Lloh18:
	ldr	x9, [x9, _NETWORK_HAS_OFDM@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
Lloh20:
	adrp	x9, _IEEE_G@GOTPAGE
Lloh21:
	ldr	x9, [x9, _IEEE_G@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	str	w9, [sp, #16]
	b	LBB0_10
LBB0_9:
	mov	w9, #0
LBB0_10:
Lloh23:
	adrp	x10, _NETWORK_HAS_CCK@GOTPAGE
Lloh24:
	ldr	x10, [x10, _NETWORK_HAS_CCK@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_13
; %bb.11:
Lloh26:
	adrp	x8, _IEEE_B@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE_B@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	orr	w8, w9, w8
LBB0_12:
	str	w8, [sp, #16]
LBB0_13:
	mov	x8, sp
	add	x0, x8, #12
	mov	x1, x22
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x21]
	cbz	x8, LBB0_15
; %bb.14:
	mov	x2, sp
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_WLAN_CAPABILITY_IBSS,4,2       ; @WLAN_CAPABILITY_IBSS
	.comm	_LIBIPW_52GHZ_BAND,8,3          ; @LIBIPW_52GHZ_BAND
	.comm	_NETWORK_HAS_CCK,4,2            ; @NETWORK_HAS_CCK
	.comm	_IEEE_A,4,2                     ; @IEEE_A
	.comm	_NETWORK_HAS_OFDM,4,2           ; @NETWORK_HAS_OFDM
	.comm	_IEEE_G,4,2                     ; @IEEE_G
	.comm	_IEEE_B,4,2                     ; @IEEE_B
	.no_dead_strip	_libipw_handle_assoc_resp
.subsections_via_symbols
