	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hostapd_ctrl_iface_set
_hostapd_ctrl_iface_set:                ## @hostapd_ctrl_iface_set
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	movl	$32, %esi
	callq	_os_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %rbx
	incq	%rbx
	movb	$0, (%rax)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	24(%r14), %edi
	movq	16(%r14), %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_hostapd_set_iface
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcasecmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_os_strcasecmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.4:
	leaq	L_.str.3(%rip), %rsi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_os_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movl	$7, %edx
	callq	_os_strncmp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_9
LBB0_6:
	incl	8(%r14)
	movl	4(%r14), %edi
	callq	_ieee802_11_update_beacons
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movl	(%r12), %edi
	leaq	L_.str.5(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_9
LBB0_8:
	movl	$-1, %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_hostapd_disassoc_deny_mac
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_11:
	movq	%r14, %rdi
	callq	_hostapd_disassoc_accept_mac
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CTRL_IFACE SET '%s'='%s'"

L_.str.1:                               ## @.str.1
	.asciz	"deny_mac_file"

L_.str.2:                               ## @.str.2
	.asciz	"accept_mac_file"

L_.str.3:                               ## @.str.3
	.asciz	"wme_ac_"

L_.str.4:                               ## @.str.4
	.asciz	"wmm_ac_"

L_.str.5:                               ## @.str.5
	.asciz	"Failed to update beacons with WMM parameters"

	.comm	_dpp_test,8,3                   ## @dpp_test
	.comm	_wps_corrupt_pkhash,4,2         ## @wps_corrupt_pkhash
	.comm	_wps_testing_dummy_cred,4,2     ## @wps_testing_dummy_cred
	.comm	_wps_version_number,4,2         ## @wps_version_number
	.no_dead_strip	_hostapd_ctrl_iface_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hostapd_ctrl_iface_set
_hostapd_ctrl_iface_set:                ; @hostapd_ctrl_iface_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x1
	mov	x19, x0
	mov	x0, x1
	mov	w1, #32
	bl	_os_strchr
	cbz	x0, LBB0_8
; %bb.1:
	mov	x21, x0
	strb	wzr, [x21], #1
Lloh0:
	adrp	x22, _MSG_DEBUG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x22]
	stp	x20, x21, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	ldr	w0, [x19, #24]
	ldr	x1, [x19, #16]
	mov	x2, x20
	mov	x3, x21
	bl	_hostapd_set_iface
	cbnz	w0, LBB0_12
; %bb.2:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_os_strcasecmp
	cbz	x0, LBB0_9
; %bb.3:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_os_strcasecmp
	cbz	x0, LBB0_10
; %bb.4:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	mov	w2, #7
	bl	_os_strncmp
	cbz	x0, LBB0_6
; %bb.5:
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	w2, #7
	bl	_os_strncmp
	cbnz	x0, LBB0_11
LBB0_6:
	ldp	w0, w8, [x19, #4]
	add	w8, w8, #1
	str	w8, [x19, #8]
	bl	_ieee802_11_update_beacons
	cbz	x0, LBB0_12
; %bb.7:
	ldr	w0, [x22]
Lloh12:
	adrp	x1, l_.str.5@PAGE
Lloh13:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_wpa_printf
	b	LBB0_11
LBB0_8:
	mov	w0, #-1
	b	LBB0_12
LBB0_9:
	mov	x0, x19
	bl	_hostapd_disassoc_deny_mac
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_hostapd_disassoc_accept_mac
LBB0_11:
	mov	w0, #0
LBB0_12:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CTRL_IFACE SET '%s'='%s'"

l_.str.1:                               ; @.str.1
	.asciz	"deny_mac_file"

l_.str.2:                               ; @.str.2
	.asciz	"accept_mac_file"

l_.str.3:                               ; @.str.3
	.asciz	"wme_ac_"

l_.str.4:                               ; @.str.4
	.asciz	"wmm_ac_"

l_.str.5:                               ; @.str.5
	.asciz	"Failed to update beacons with WMM parameters"

	.comm	_dpp_test,8,3                   ; @dpp_test
	.comm	_wps_corrupt_pkhash,4,2         ; @wps_corrupt_pkhash
	.comm	_wps_testing_dummy_cred,4,2     ; @wps_testing_dummy_cred
	.comm	_wps_version_number,4,2         ; @wps_version_number
	.no_dead_strip	_hostapd_ctrl_iface_set
.subsections_via_symbols
