	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qtnf_event_handle_external_auth
_qtnf_event_handle_external_auth:       ## @qtnf_event_handle_external_auth
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	xorps	%xmm0, %xmm0
	movups	%xmm0, -48(%rbp)
	movq	8(%rdi), %rdi
	callq	_priv_to_wiphy
	cmpl	$19, %ebx
	ja	LBB0_2
## %bb.1:
	movq	8(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_pr_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_2:
	xorl	%ebx, %ebx
	cmpl	$0, (%rax)
	je	LBB0_8
## %bb.3:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.4:
	movl	12(%r14), %edx
	testl	%edx, %edx
	je	LBB0_6
## %bb.5:
	movl	16(%r14), %esi
	xorl	%edi, %edi
	callq	_memcpy
	movl	12(%r14), %eax
	movl	%eax, -44(%rbp)
LBB0_6:
	movl	8(%r14), %edi
	callq	_le32_to_cpu
	movl	%eax, %r12d
	movl	%eax, -56(%rbp)
	movl	4(%r14), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_ether_addr_copy
	movl	(%r14), %ecx
	movl	%ecx, -52(%rbp)
	movq	(%r15), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%edx, %edx
	movl	%r12d, %r8d
	callq	_pr_info
	movq	(%r15), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-56(%rbp), %rsi
	callq	_cfg80211_external_auth_request
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	%eax, %r14d
	leaq	L_.str.2(%rip), %rdi
	callq	_pr_warn
	movl	%r14d, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC%u: payload is too short\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.1:                               ## @.str.1
	.asciz	"%s: external auth bss=%pM action=%u akm=%u\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
L_.str.2:                               ## @.str.2
	.asciz	"failed to offload external auth request\n"

	.no_dead_strip	_qtnf_event_handle_external_auth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qtnf_event_handle_external_auth
_qtnf_event_handle_external_auth:       ; @qtnf_event_handle_external_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	ldr	x0, [x0, #8]
	bl	_priv_to_wiphy
	cmp	w21, #19
	b.hi	LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	ldr	w1, [x8]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w19, w8
	b	LBB0_9
LBB0_2:
	ldr	w8, [x0]
	cbz	w8, LBB0_8
; %bb.3:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.4:
	ldr	w2, [x20, #12]
	cbz	w2, LBB0_6
; %bb.5:
	ldr	w1, [x20, #16]
	mov	w0, #0
	bl	_memcpy
	ldr	w8, [x20, #12]
	str	w8, [sp, #20]
LBB0_6:
	ldr	w0, [x20, #8]
	bl	_le32_to_cpu
	mov	x21, x0
	str	w0, [sp, #8]
	ldr	w1, [x20, #4]
	mov	w0, #0
	bl	_ether_addr_copy
	ldr	w3, [x20]
	str	w3, [sp, #12]
	ldr	x8, [x19]
	ldr	w1, [x8]
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #0
	mov	x4, x21
	bl	_pr_info
	ldr	x0, [x19]
Lloh7:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x1, sp, #8
	bl	_cfg80211_external_auth_request
	mov	x19, x0
	cbz	w0, LBB0_9
; %bb.7:
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_warn
	b	LBB0_9
LBB0_8:
	mov	w19, #0
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC%u: payload is too short\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.1:                               ; @.str.1
	.asciz	"%s: external auth bss=%pM action=%u akm=%u\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
l_.str.2:                               ; @.str.2
	.asciz	"failed to offload external auth request\n"

	.no_dead_strip	_qtnf_event_handle_external_auth
.subsections_via_symbols
