	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_broadcast_key_clear_iface
_hostapd_broadcast_key_clear_iface:     ## @hostapd_broadcast_key_clear_iface
	.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
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %r14
	cmpl	$0, 8(%rdi)
	je	LBB0_7
## %bb.2:
	movq	_NUM_WEP_KEYS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_7
## %bb.3:
	movq	%rsi, %r15
	xorl	%ebx, %ebx
	movq	_WPA_ALG_NONE@GOTPCREL(%rip), %r12
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	incl	%ebx
	cmpl	(%r13), %ebx
	jge	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edx
	movq	%r15, %rdi
	movq	%r14, %rsi
	xorl	%ecx, %ecx
	movl	%ebx, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	$0
	pushq	$0
	callq	_hostapd_drv_set_key
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_wpa_printf
	jmp	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_WEP_KEYS,4,2               ## @NUM_WEP_KEYS
	.comm	_WPA_ALG_NONE,4,2               ## @WPA_ALG_NONE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to clear default encryption keys (ifname=%s keyidx=%d)"

	.no_dead_strip	_hostapd_broadcast_key_clear_iface
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_broadcast_key_clear_iface
_hostapd_broadcast_key_clear_iface:     ; @hostapd_broadcast_key_clear_iface
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cbz	x1, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #8]
Lloh0:
	adrp	x23, _NUM_WEP_KEYS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _NUM_WEP_KEYS@GOTPAGEOFF]
	ldr	w9, [x23]
	cmp	w8, #0
	ccmp	w9, #1, #8, ne
	b.ge	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_3:
	mov	x19, x1
	mov	w21, #0
Lloh2:
	adrp	x24, _WPA_ALG_NONE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _WPA_ALG_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x25, _MSG_DEBUG@GOTPAGE
Lloh5:
	ldr	x25, [x25, _MSG_DEBUG@GOTPAGEOFF]
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	w21, w21, #1
	ldr	w8, [x23]
	cmp	w21, w8
	b.ge	LBB0_2
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x24]
	str	wzr, [sp, #8]
	str	xzr, [sp]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	mov	x4, x21
	mov	w5, #0
	mov	x6, #0
	mov	w7, #0
	bl	_hostapd_drv_set_key
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x25]
	mov	x1, x22
	mov	x2, x19
	mov	x3, x21
	bl	_wpa_printf
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_WEP_KEYS,4,2               ; @NUM_WEP_KEYS
	.comm	_WPA_ALG_NONE,4,2               ; @WPA_ALG_NONE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to clear default encryption keys (ifname=%s keyidx=%d)"

	.no_dead_strip	_hostapd_broadcast_key_clear_iface
.subsections_via_symbols
