	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_wpa_auth_set_key
_hostapd_wpa_auth_set_key:              ## @hostapd_wpa_auth_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rdi, %rbx
	movq	40(%rdi), %rax
	testl	%esi, %esi
	jle	LBB0_1
## %bb.2:
	movl	8(%rax), %edi
	callq	_hostapd_get_vlan_id_ifname
	movq	%rax, %rdi
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movl	$-1, %eax
	addq	$8, %rsp
	jmp	LBB0_5
LBB0_1:
	movq	(%rax), %rdi
LBB0_3:
	movq	%rbx, %rsi
	movl	%r13d, %edx
	movq	%r12, %rcx
	movl	%r15d, %r8d
	movl	$1, %r9d
	pushq	16(%rbp)
	pushq	%r14
	pushq	$0
	pushq	$0
	callq	_hostapd_drv_set_key
	addq	$40, %rsp
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WPA_ALG_BIP_CMAC_256,4,2       ## @WPA_ALG_BIP_CMAC_256
	.comm	_WPA_ALG_BIP_GMAC_128,4,2       ## @WPA_ALG_BIP_GMAC_128
	.comm	_WPA_ALG_BIP_GMAC_256,4,2       ## @WPA_ALG_BIP_GMAC_256
	.comm	_WPA_ALG_IGTK,4,2               ## @WPA_ALG_IGTK
	.no_dead_strip	_hostapd_wpa_auth_set_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_wpa_auth_set_key
_hostapd_wpa_auth_set_key:              ; @hostapd_wpa_auth_set_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x24, x6
	mov	x23, x5
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x0
	ldr	x8, [x0, #40]
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	w0, [x8, #8]
	bl	_hostapd_get_vlan_id_ifname
	cbnz	x0, LBB0_4
; %bb.2:
	mov	w0, #-1
	b	LBB0_5
LBB0_3:
	ldr	x0, [x8]
LBB0_4:
	stp	x23, x24, [sp]
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	mov	x4, x19
	mov	w5, #1
	mov	x6, #0
	mov	w7, #0
	bl	_hostapd_drv_set_key
LBB0_5:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_WPA_ALG_BIP_CMAC_256,4,2       ; @WPA_ALG_BIP_CMAC_256
	.comm	_WPA_ALG_BIP_GMAC_128,4,2       ; @WPA_ALG_BIP_GMAC_128
	.comm	_WPA_ALG_BIP_GMAC_256,4,2       ; @WPA_ALG_BIP_GMAC_256
	.comm	_WPA_ALG_IGTK,4,2               ; @WPA_ALG_IGTK
	.no_dead_strip	_hostapd_wpa_auth_set_key
.subsections_via_symbols
