	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_priv_cmd_associate
_wpa_priv_cmd_associate:                ## @wpa_priv_cmd_associate
	.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
	cmpq	$0, (%rdi)
	je	LBB0_13
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_13
## %bb.2:
	cmpq	$63, %rdx
	ja	LBB0_5
## %bb.3:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	%rsi, %r14
	movslq	(%rsi), %rax
	addq	$64, %rax
	cmpq	%rdx, %rax
	jbe	LBB0_7
## %bb.6:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	xorl	%eax, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_7:
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	movl	$72, %edx
	callq	_os_memset
	movq	8(%r14), %rax
	movdqu	(%rax), %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ecx
	orl	16(%rax), %ecx
	orl	20(%rax), %ecx
	je	LBB0_9
## %bb.8:
	movq	%rax, -88(%rbp)
LBB0_9:
	movl	56(%r14), %eax
	movl	%eax, -24(%rbp)
	movq	16(%r14), %rax
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_13
## %bb.10:
	movq	%rax, -80(%rbp)
	movl	52(%r14), %eax
	movl	%eax, -28(%rbp)
	movl	48(%r14), %eax
	movl	%eax, -32(%rbp)
	movl	44(%r14), %eax
	movl	%eax, -36(%rbp)
	movslq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	64(%r14), %rcx
	movq	%rcx, -72(%rbp)
	movq	%rax, -64(%rbp)
LBB0_12:
	movl	40(%r14), %eax
	movl	%eax, -40(%rbp)
	movdqu	24(%r14), %xmm0
	movdqu	%xmm0, -56(%rbp)
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	leaq	-88(%rbp), %rsi
	callq	*(%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_13:
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid association request"

L_.str.1:                               ## @.str.1
	.asciz	"Association request overflow"

	.comm	_SSID_MAX_LEN,8,3               ## @SSID_MAX_LEN
L_.str.2:                               ## @.str.2
	.asciz	"drv->associate: res=%d"

	.no_dead_strip	_wpa_priv_cmd_associate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_priv_cmd_associate
_wpa_priv_cmd_associate:                ; @wpa_priv_cmd_associate
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_13
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_13
; %bb.2:
	cmp	x2, #63
	b.hi	LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x20, x1
	ldrsw	x8, [x1]
	add	x8, x8, #64
	cmp	x8, x2
	b.ls	LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	b	_wpa_printf
LBB0_7:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #72
	bl	_os_memset
	ldr	x8, [x20, #8]
	ldr	q0, [x8]
	ldp	w9, w10, [x8, #16]
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	mov.s	w11, v0[1]
	fmov	w12, s0
	orr	w11, w12, w11
	orr	w9, w11, w9
	orr	w9, w9, w10
	cbz	w9, LBB0_9
; %bb.8:
	str	x8, [sp, #8]
LBB0_9:
	ldr	w8, [x20, #56]
	str	w8, [sp, #72]
	ldr	x8, [x20, #16]
Lloh10:
	adrp	x9, _SSID_MAX_LEN@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SSID_MAX_LEN@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_13
; %bb.10:
	str	x8, [sp, #16]
	ldr	w8, [x20, #52]
	str	w8, [sp, #68]
	ldur	d0, [x20, #44]
	stur	d0, [sp, #60]
	ldrsw	x8, [x20]
	cbz	w8, LBB0_12
; %bb.11:
	add	x9, x20, #64
	stp	x9, x8, [sp, #24]
LBB0_12:
	ldr	w8, [x20, #40]
	str	w8, [sp, #56]
	ldur	q0, [x20, #24]
	stur	q0, [sp, #40]
	ldp	x0, x8, [x19]
	ldr	x8, [x8]
	add	x1, sp, #8
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
Lloh13:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh14:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
LBB0_13:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid association request"

l_.str.1:                               ; @.str.1
	.asciz	"Association request overflow"

	.comm	_SSID_MAX_LEN,8,3               ; @SSID_MAX_LEN
l_.str.2:                               ; @.str.2
	.asciz	"drv->associate: res=%d"

	.no_dead_strip	_wpa_priv_cmd_associate
.subsections_via_symbols
