	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_mac
_list_mac:                              ## @list_mac
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	leaq	-64(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	-44(%rbp), %edi
	movq	_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	_IEEE80211_IOC_MACCMD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_IEEE80211_MACCMD_POLICY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_SIOCG80211@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_4
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_24
LBB0_3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movl	-64(%rbp), %r15d
	movq	_IEEE80211_MACCMD_POLICY_OPEN@GOTPCREL(%rip), %rax
	movl	$42, %r12d
	cmpl	(%rax), %r15d
	je	LBB0_9
## %bb.5:
	movq	_IEEE80211_MACCMD_POLICY_ALLOW@GOTPCREL(%rip), %rax
	movl	$43, %r12d
	cmpl	(%rax), %r15d
	je	LBB0_9
## %bb.6:
	movq	_IEEE80211_MACCMD_POLICY_DENY@GOTPCREL(%rip), %rax
	movl	$45, %r12d
	cmpl	(%rax), %r15d
	je	LBB0_9
## %bb.7:
	movq	_IEEE80211_MACCMD_POLICY_RADIUS@GOTPCREL(%rip), %rax
	movl	$114, %r12d
	cmpl	(%rax), %r15d
	jne	LBB0_8
LBB0_9:
	movq	_verbose@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpq	$0, (%rax)
	je	LBB0_11
LBB0_10:
	movl	%r15d, %edi
	callq	_printpolicy
LBB0_11:
	movq	_IEEE80211_MACCMD_LIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	movl	(%r13), %esi
	leaq	-64(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	jns	LBB0_13
## %bb.12:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_13:
	movl	-60(%rbp), %r13d
	testq	%r13, %r13
	je	LBB0_14
## %bb.16:
	movl	%r13d, %edi
	callq	_malloc
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_18
## %bb.17:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_18:
	movq	%r15, -56(%rbp)
	movq	_SIOCG80211@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-64(%rbp), %rdx
	movl	%r14d, %edi
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_19
## %bb.20:
	cmpl	$8, %r13d
	jge	LBB0_21
	jmp	LBB0_23
LBB0_14:
	movq	_verbose@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	setne	%al
	orb	%al, %bl
	jne	LBB0_24
## %bb.15:
	movl	%r15d, %edi
	callq	_printpolicy
	jmp	LBB0_24
LBB0_19:
	leaq	L_.str.5(%rip), %rsi
	movl	$1, %edi
	callq	_err
	cmpl	$8, %r13d
	jl	LBB0_23
LBB0_21:
	shrq	$3, %r13
	leaq	L_.str.6(%rip), %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_22:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_ether_ntoa
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_22
LBB0_23:
	movq	%r15, %rdi
	callq	_free
LBB0_24:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_printf
	movb	$1, %bl
	movl	$63, %r12d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_name,4,2                       ## @name
	.comm	_IEEE80211_IOC_MACCMD,4,2       ## @IEEE80211_IOC_MACCMD
	.comm	_IEEE80211_MACCMD_POLICY,4,2    ## @IEEE80211_MACCMD_POLICY
	.comm	_SIOCG80211,4,2                 ## @SIOCG80211
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"unable to get mac policy"

	.comm	_IEEE80211_MACCMD_POLICY_OPEN,4,2 ## @IEEE80211_MACCMD_POLICY_OPEN
	.comm	_IEEE80211_MACCMD_POLICY_ALLOW,4,2 ## @IEEE80211_MACCMD_POLICY_ALLOW
	.comm	_IEEE80211_MACCMD_POLICY_DENY,4,2 ## @IEEE80211_MACCMD_POLICY_DENY
	.comm	_IEEE80211_MACCMD_POLICY_RADIUS,4,2 ## @IEEE80211_MACCMD_POLICY_RADIUS
L_.str.2:                               ## @.str.2
	.asciz	"policy: unknown (%u)\n"

	.comm	_verbose,8,3                    ## @verbose
	.comm	_IEEE80211_MACCMD_LIST,4,2      ## @IEEE80211_MACCMD_LIST
L_.str.3:                               ## @.str.3
	.asciz	"unable to get mac acl list size"

L_.str.4:                               ## @.str.4
	.asciz	"out of memory for acl list"

L_.str.5:                               ## @.str.5
	.asciz	"unable to get mac acl list"

L_.str.6:                               ## @.str.6
	.asciz	"%c%s\n"

L_str:                                  ## @str
	.asciz	"No acl policy loaded"

	.no_dead_strip	_list_mac
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_mac
_list_mac:                              ; @list_mac
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	mov	x19, x0
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w0, [sp, #44]
Lloh0:
	adrp	x8, _name@GOTPAGE
Lloh1:
	ldr	x8, [x8, _name@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
Lloh3:
	adrp	x8, _IEEE80211_IOC_MACCMD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IEEE80211_IOC_MACCMD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _IEEE80211_MACCMD_POLICY@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IEEE80211_MACCMD_POLICY@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	str	w8, [sp, #40]
	str	w9, [sp, #24]
Lloh9:
	adrp	x22, _SIOCG80211@GOTPAGE
Lloh10:
	ldr	x22, [x22, _SIOCG80211@GOTPAGEOFF]
	ldr	w1, [x22]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	tbz	x0, #63, LBB0_4
; %bb.1:
Lloh11:
	adrp	x8, _errno@GOTPAGE
Lloh12:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _EINVAL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh17:
	adrp	x0, l_str@PAGE
Lloh18:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_27
LBB0_3:
Lloh19:
	adrp	x1, l_.str.1@PAGE
Lloh20:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	w20, [sp, #24]
Lloh21:
	adrp	x8, _IEEE80211_MACCMD_POLICY_OPEN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_OPEN@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
Lloh24:
	adrp	x24, _verbose@GOTPAGE
Lloh25:
	ldr	x24, [x24, _verbose@GOTPAGEOFF]
	cmp	w20, w8
	b.ne	LBB0_6
; %bb.5:
	mov	w23, #42
	b	LBB0_12
LBB0_6:
Lloh26:
	adrp	x8, _IEEE80211_MACCMD_POLICY_ALLOW@GOTPAGE
Lloh27:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_ALLOW@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_8
; %bb.7:
	mov	w23, #43
	b	LBB0_12
LBB0_8:
Lloh29:
	adrp	x8, _IEEE80211_MACCMD_POLICY_DENY@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_DENY@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_10
; %bb.9:
	mov	w23, #45
	b	LBB0_12
LBB0_10:
Lloh32:
	adrp	x8, _IEEE80211_MACCMD_POLICY_RADIUS@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IEEE80211_MACCMD_POLICY_RADIUS@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_28
; %bb.11:
	mov	w23, #114
LBB0_12:
	mov	w21, #0
	mov	w25, #0
	ldr	x8, [x24]
	cbz	x8, LBB0_14
LBB0_13:
	mov	x0, x20
	bl	_printpolicy
	mov	x25, x21
LBB0_14:
Lloh35:
	adrp	x8, _IEEE80211_MACCMD_LIST@GOTPAGE
Lloh36:
	ldr	x8, [x8, _IEEE80211_MACCMD_LIST@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #24]
	ldr	w1, [x22]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	tbnz	x0, #63, LBB0_20
; %bb.15:
	ldr	w21, [sp, #28]
	cbz	w21, LBB0_21
LBB0_16:
	mov	x0, x21
	bl	_malloc
	mov	x20, x0
	cbnz	x0, LBB0_18
; %bb.17:
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_18:
	str	x20, [sp, #32]
	ldr	w1, [x22]
	add	x2, sp, #24
	mov	x0, x19
	bl	_ioctl
	tbnz	x0, #63, LBB0_23
; %bb.19:
	cmp	w21, #8
	b.ge	LBB0_24
	b	LBB0_26
LBB0_20:
Lloh40:
	adrp	x1, l_.str.3@PAGE
Lloh41:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	bl	_err
	ldr	w21, [sp, #28]
	cbnz	w21, LBB0_16
LBB0_21:
	ldr	x8, [x24]
	cmp	x8, #0
	cset	w8, ne
	orr	w8, w25, w8
	tbnz	w8, #0, LBB0_27
; %bb.22:
	mov	x0, x20
	bl	_printpolicy
	b	LBB0_27
LBB0_23:
Lloh42:
	adrp	x1, l_.str.5@PAGE
Lloh43:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_err
	cmp	w21, #8
	b.lt	LBB0_26
LBB0_24:
	lsr	x21, x21, #3
Lloh44:
	adrp	x19, l_.str.6@PAGE
Lloh45:
	add	x19, x19, l_.str.6@PAGEOFF
	mov	x22, x20
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22], #8
	bl	_ether_ntoa
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x23, x0, [sp]
	mov	x0, x19
	bl	_printf
	subs	x21, x21, #1
	b.ne	LBB0_25
LBB0_26:
	mov	x0, x20
	bl	_free
LBB0_27:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_28:
	str	x20, [sp]
Lloh46:
	adrp	x0, l_.str.2@PAGE
Lloh47:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	w21, #1
	mov	w23, #63
	b	LBB0_13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.cfi_endproc
                                        ; -- End function
	.comm	_name,4,2                       ; @name
	.comm	_IEEE80211_IOC_MACCMD,4,2       ; @IEEE80211_IOC_MACCMD
	.comm	_IEEE80211_MACCMD_POLICY,4,2    ; @IEEE80211_MACCMD_POLICY
	.comm	_SIOCG80211,4,2                 ; @SIOCG80211
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"unable to get mac policy"

	.comm	_IEEE80211_MACCMD_POLICY_OPEN,4,2 ; @IEEE80211_MACCMD_POLICY_OPEN
	.comm	_IEEE80211_MACCMD_POLICY_ALLOW,4,2 ; @IEEE80211_MACCMD_POLICY_ALLOW
	.comm	_IEEE80211_MACCMD_POLICY_DENY,4,2 ; @IEEE80211_MACCMD_POLICY_DENY
	.comm	_IEEE80211_MACCMD_POLICY_RADIUS,4,2 ; @IEEE80211_MACCMD_POLICY_RADIUS
l_.str.2:                               ; @.str.2
	.asciz	"policy: unknown (%u)\n"

	.comm	_verbose,8,3                    ; @verbose
	.comm	_IEEE80211_MACCMD_LIST,4,2      ; @IEEE80211_MACCMD_LIST
l_.str.3:                               ; @.str.3
	.asciz	"unable to get mac acl list size"

l_.str.4:                               ; @.str.4
	.asciz	"out of memory for acl list"

l_.str.5:                               ; @.str.5
	.asciz	"unable to get mac acl list"

l_.str.6:                               ; @.str.6
	.asciz	"%c%s\n"

l_str:                                  ; @str
	.asciz	"No acl policy loaded"

	.no_dead_strip	_list_mac
.subsections_via_symbols
