	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_enable_mac_addr_randomization ## -- Begin function wpas_enable_mac_addr_randomization
	.p2align	4, 0x90
_wpas_enable_mac_addr_randomization:    ## @wpas_enable_mac_addr_randomization
	.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	%rcx, %r15
	testq	%rdx, %rdx
	setne	%al
	testq	%rcx, %rcx
	setne	%cl
	cmpb	%cl, %al
	je	LBB0_3
## %bb.1:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %rbx
	movl	%esi, %r12d
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.4:
	testq	%r15, %r15
	je	LBB0_8
## %bb.5:
	testb	$1, (%r15)
	je	LBB0_7
## %bb.6:
	testb	$1, (%rbx)
	jne	LBB0_7
LBB0_8:
	movq	_MAC_ADDR_RAND_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r12d, %esi
	je	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_wpas_mac_addr_rand_scan_set
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_20
LBB0_10:
	movq	_MAC_ADDR_RAND_SCHED_SCAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r12d, %esi
	je	LBB0_15
## %bb.11:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_wpas_mac_addr_rand_scan_set
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_20
## %bb.12:
	cmpq	$0, 8(%r14)
	je	LBB0_15
## %bb.13:
	cmpq	$0, (%r14)
	jne	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_wpas_scan_restart_sched_scan
LBB0_15:
	movq	_MAC_ADDR_RAND_PNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r12d, %esi
	je	LBB0_19
## %bb.16:
	movq	%r14, %rdi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	callq	_wpas_mac_addr_rand_scan_set
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_20
## %bb.17:
	cmpq	$0, (%r14)
	je	LBB0_19
## %bb.18:
	movq	%r14, %rdi
	callq	_wpas_stop_pno
	movq	%r14, %rdi
	callq	_wpas_start_pno
LBB0_19:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_7:
	movq	_MSG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_20:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_INFO,4,2                   ## @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"MAC_ADDR_RAND_SCAN invalid addr/mask combination"

L_.str.1:                               ## @.str.1
	.asciz	"MAC_ADDR_RAND_SCAN cannot allow multicast address"

	.comm	_MAC_ADDR_RAND_SCAN,4,2         ## @MAC_ADDR_RAND_SCAN
	.comm	_MAC_ADDR_RAND_SCHED_SCAN,4,2   ## @MAC_ADDR_RAND_SCHED_SCAN
	.comm	_MAC_ADDR_RAND_PNO,4,2          ## @MAC_ADDR_RAND_PNO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpas_enable_mac_addr_randomization ; -- Begin function wpas_enable_mac_addr_randomization
	.p2align	2
_wpas_enable_mac_addr_randomization:    ; @wpas_enable_mac_addr_randomization
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	cmp	x2, #0
	cset	w8, ne
	cmp	x3, #0
	cset	w9, ne
	cmp	w8, w9
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_19
LBB0_2:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	cbz	x2, LBB0_6
; %bb.3:
	cbz	x20, LBB0_6
; %bb.4:
	ldrb	w8, [x20]
	tbz	w8, #0, LBB0_18
; %bb.5:
	ldrb	w8, [x21]
	tbnz	w8, #0, LBB0_18
LBB0_6:
Lloh5:
	adrp	x8, _MAC_ADDR_RAND_SCAN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAC_ADDR_RAND_SCAN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	tst	w1, w22
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_wpas_mac_addr_rand_scan_set
	cbnz	x0, LBB0_20
LBB0_8:
Lloh8:
	adrp	x8, _MAC_ADDR_RAND_SCHED_SCAN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAC_ADDR_RAND_SCHED_SCAN@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	tst	w1, w22
	b.eq	LBB0_13
; %bb.9:
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_wpas_mac_addr_rand_scan_set
	cbnz	x0, LBB0_20
; %bb.10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x19]
	cbnz	x8, LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_wpas_scan_restart_sched_scan
LBB0_13:
Lloh11:
	adrp	x8, _MAC_ADDR_RAND_PNO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MAC_ADDR_RAND_PNO@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	tst	w1, w22
	b.eq	LBB0_17
; %bb.14:
	mov	x0, x19
	mov	x2, x21
	mov	x3, x20
	bl	_wpas_mac_addr_rand_scan_set
	cbnz	x0, LBB0_20
; %bb.15:
	ldr	x8, [x19]
	cbz	x8, LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_wpas_stop_pno
	mov	x0, x19
	bl	_wpas_start_pno
LBB0_17:
	mov	w0, #0
	b	LBB0_21
LBB0_18:
Lloh14:
	adrp	x8, _MSG_INFO@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MSG_INFO@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_19:
	bl	_wpa_printf
LBB0_20:
	mov	w0, #-1
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_INFO,4,2                   ; @MSG_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"MAC_ADDR_RAND_SCAN invalid addr/mask combination"

l_.str.1:                               ; @.str.1
	.asciz	"MAC_ADDR_RAND_SCAN cannot allow multicast address"

	.comm	_MAC_ADDR_RAND_SCAN,4,2         ; @MAC_ADDR_RAND_SCAN
	.comm	_MAC_ADDR_RAND_SCHED_SCAN,4,2   ; @MAC_ADDR_RAND_SCHED_SCAN
	.comm	_MAC_ADDR_RAND_PNO,4,2          ; @MAC_ADDR_RAND_PNO
.subsections_via_symbols
