	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_priv_cmd_set_key
_wpa_priv_cmd_set_key:                  ## @wpa_priv_cmd_set_key
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.1:
	movq	16(%rdi), %rcx
	movq	(%rcx), %r10
	testq	%r10, %r10
	je	LBB0_10
## %bb.2:
	cmpq	$48, %rdx
	jne	LBB0_11
## %bb.3:
	movq	16(%rax), %r11
	testq	%r11, %r11
	je	LBB0_4
## %bb.5:
	movq	24(%rax), %r14
	jmp	LBB0_6
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_11:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
LBB0_4:
	xorl	%r14d, %r14d
LBB0_6:
	movl	8(%rdi), %edi
	movl	44(%rax), %edx
	movl	40(%rax), %ecx
	movl	36(%rax), %r8d
	movl	32(%rax), %r9d
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_7
## %bb.8:
	movq	8(%rax), %rax
	jmp	LBB0_9
LBB0_7:
	xorl	%eax, %eax
LBB0_9:
	pushq	%rbx
	pushq	%rax
	pushq	%r11
	pushq	%r14
	callq	*%r10
	addq	$32, %rsp
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_wpa_printf                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid set_key request"

L_.str.1:                               ## @.str.1
	.asciz	"drv->set_key: res=%d"

	.no_dead_strip	_wpa_priv_cmd_set_key
.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_set_key
_wpa_priv_cmd_set_key:                  ; @wpa_priv_cmd_set_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x1
	ldr	x1, [x0]
	cbz	x1, LBB0_10
; %bb.1:
	ldr	x9, [x0, #16]
	ldr	x9, [x9]
	cbz	x9, LBB0_10
; %bb.2:
	cmp	x2, #48
	b.ne	LBB0_6
; %bb.3:
	ldr	w0, [x0, #8]
	ldp	w3, w2, [x8, #40]
	ldp	w5, w4, [x8, #32]
	ldr	x7, [x8, #16]
	cbz	x7, LBB0_7
; %bb.4:
	ldr	x6, [x8, #24]
	ldr	x10, [x8]
	cbz	x10, LBB0_8
LBB0_5:
	ldr	x8, [x8, #8]
	b	LBB0_9
LBB0_6:
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
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_wpa_printf
LBB0_7:
	mov	x6, #0
	ldr	x10, [x8]
	cbnz	x10, LBB0_5
LBB0_8:
	mov	x8, #0
LBB0_9:
	stp	x8, x10, [sp]
	blr	x9
                                        ; kill: def $w0 killed $w0 def $x0
Lloh5:
	adrp	x8, _MSG_DEBUG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MSG_DEBUG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	x0, [sp]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x8
	bl	_wpa_printf
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid set_key request"

l_.str.1:                               ; @.str.1
	.asciz	"drv->set_key: res=%d"

	.no_dead_strip	_wpa_priv_cmd_set_key
.subsections_via_symbols
