	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wpa_supplicant_key_mgmt_set_pmk
_wpa_supplicant_key_mgmt_set_pmk:       ## @wpa_supplicant_key_mgmt_set_pmk
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	8(%rdi), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi)
	je	LBB0_3
## %bb.2:
	movq	%rdx, %r10
	movq	%rsi, %rax
	movq	_WPA_ALG_PMK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	subq	$8, %rsp
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	pushq	$0
	callq	_wpa_drv_set_key
	addq	$32, %rsp
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD,4,2 ## @WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD
	.comm	_WPA_ALG_PMK,4,2                ## @WPA_ALG_PMK
	.no_dead_strip	_wpa_supplicant_key_mgmt_set_pmk
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wpa_supplicant_key_mgmt_set_pmk
_wpa_supplicant_key_mgmt_set_pmk:       ; @wpa_supplicant_key_mgmt_set_pmk
	.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
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	mov	x7, x1
Lloh3:
	adrp	x8, _WPA_ALG_PMK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WPA_ALG_PMK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	str	x2, [sp]
	mov	x2, #0
	mov	w3, #0
	mov	w4, #0
	mov	x5, #0
	mov	w6, #0
	bl	_wpa_drv_set_key
	b	LBB0_4
LBB0_3:
	mov	w0, #0
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD,4,2 ; @WPA_DRIVER_FLAGS_KEY_MGMT_OFFLOAD
	.comm	_WPA_ALG_PMK,4,2                ; @WPA_ALG_PMK
	.no_dead_strip	_wpa_supplicant_key_mgmt_set_pmk
.subsections_via_symbols
