	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_priv_cmd_authenticate
_wpa_priv_cmd_authenticate:             ## @wpa_priv_cmd_authenticate
	.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	$96, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	je	LBB0_21
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpq	$0, (%rax)
	je	LBB0_21
## %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
	movslq	4(%rsi), %rcx
	addq	%rcx, %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	$96, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_7:
	leaq	-104(%rbp), %rdi
	xorl	%esi, %esi
	movl	$88, %edx
	callq	_os_memset
	movl	60(%r14), %eax
	movl	%eax, -20(%rbp)
	movl	56(%r14), %eax
	movl	%eax, -24(%rbp)
	movl	52(%r14), %eax
	movl	%eax, -28(%rbp)
	movq	8(%r14), %rax
	movq	_SSID_MAX_LEN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_21
## %bb.8:
	movq	%rax, -104(%rbp)
	movl	48(%r14), %eax
	movl	%eax, -32(%rbp)
	movq	32(%r14), %rdx
	movq	-48(%rbp), %rax
	movq	-40(%rbp), %rcx
	movq	(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movq	40(%r14), %rdi
	movl	(%rdi), %edi
	movl	%edi, (%rcx)
	movq	%rsi, (%rax)
LBB0_10:
	movq	8(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_12
## %bb.11:
	movq	40(%r14), %rdi
	movl	4(%rdi), %edi
	movl	%edi, 4(%rcx)
	movq	%rsi, 8(%rax)
LBB0_12:
	movq	16(%rdx), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.13:
	movq	40(%r14), %rdi
	movl	8(%rdi), %edi
	movl	%edi, 8(%rcx)
	movq	%rsi, 16(%rax)
LBB0_14:
	movq	24(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.15:
	movq	40(%r14), %rsi
	movl	12(%rsi), %esi
	movl	%esi, 12(%rcx)
	movq	%rdx, 24(%rax)
LBB0_16:
	movl	24(%r14), %eax
	movl	%eax, -56(%rbp)
	movl	20(%r14), %eax
	movl	%eax, -60(%rbp)
	movl	16(%r14), %eax
	movl	%eax, -64(%rbp)
	movslq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	leaq	64(%r14), %rcx
	movq	%rcx, -72(%rbp)
	movq	%rax, -96(%rbp)
LBB0_18:
	movslq	4(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_20
## %bb.19:
	leaq	(%r14,%rax,4), %rax
	addq	$64, %rax
	movq	%rax, -80(%rbp)
	movq	%rcx, -88(%rbp)
LBB0_20:
	movq	(%rbx), %rdi
	movq	8(%rbx), %rax
	leaq	-104(%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_21:
	addq	$96, %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 authentication request"

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

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

	.no_dead_strip	_wpa_priv_cmd_authenticate
.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_authenticate
_wpa_priv_cmd_authenticate:             ; @wpa_priv_cmd_authenticate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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_21
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_21
; %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
	ldpsw	x8, x9, [x1]
	add	x8, x8, x9
	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, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	b	_wpa_printf
LBB0_7:
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #88
	bl	_os_memset
	ldr	w8, [x20, #60]
	str	w8, [sp, #92]
	ldur	d0, [x20, #52]
	stur	d0, [sp, #84]
	ldr	x8, [x20, #8]
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_21
; %bb.8:
	str	x8, [sp, #8]
	ldr	w8, [x20, #48]
	str	w8, [sp, #80]
	ldr	x10, [x20, #32]
	ldp	x9, x8, [sp, #64]
	ldr	x11, [x10]
	cbz	x11, LBB0_10
; %bb.9:
	ldr	x12, [x20, #40]
	ldr	w12, [x12]
	str	w12, [x8]
	str	x11, [x9]
LBB0_10:
	ldr	x11, [x10, #8]
	cbz	x11, LBB0_12
; %bb.11:
	ldr	x12, [x20, #40]
	ldr	w12, [x12, #4]
	str	w12, [x8, #4]
	str	x11, [x9, #8]
LBB0_12:
	ldr	x11, [x10, #16]
	cbz	x11, LBB0_14
; %bb.13:
	ldr	x12, [x20, #40]
	ldr	w12, [x12, #8]
	str	w12, [x8, #8]
	str	x11, [x9, #16]
LBB0_14:
	ldr	x10, [x10, #24]
	cbz	x10, LBB0_16
; %bb.15:
	ldr	x11, [x20, #40]
	ldr	w11, [x11, #12]
	str	w11, [x8, #12]
	str	x10, [x9, #24]
LBB0_16:
	ldr	w8, [x20, #24]
	str	w8, [sp, #56]
	ldr	d0, [x20, #16]
	str	d0, [sp, #48]
	ldrsw	x8, [x20]
	cbz	w8, LBB0_18
; %bb.17:
	add	x9, x20, #64
	str	x9, [sp, #40]
	str	x8, [sp, #16]
LBB0_18:
	ldrsw	x9, [x20, #4]
	cbz	w9, LBB0_20
; %bb.19:
	add	x8, x20, x8, lsl #2
	add	x8, x8, #64
	stp	x9, x8, [sp, #24]
LBB0_20:
	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_21:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #128
	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 authentication request"

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

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

	.no_dead_strip	_wpa_priv_cmd_authenticate
.subsections_via_symbols
