	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atu_dump
_atu_dump:                              ## @atu_dump
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-88(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	(%r15), %edi
	movq	_IOETHERSWITCHGETTABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_err
LBB0_2:
	cmpq	$0, -88(%rbp)
	jle	LBB0_6
## %bb.3:
	xorl	%ebx, %ebx
	leaq	-64(%rbp), %r12
	movq	_IOETHERSWITCHGETTABLEENTRY@GOTPCREL(%rip), %r14
	leaq	L_.str.1(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$24, %esi
	callq	_bzero
	movq	%rbx, -48(%rbp)
	movl	(%r15), %edi
	movl	(%r14), %esi
	movq	%r12, %rdx
	callq	_ioctl
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-52(%rbp), %rdi
	callq	_ether_ntoa
	movl	-56(%rbp), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_printf
	incq	%rbx
	cmpq	-88(%rbp), %rbx
	jl	LBB0_4
LBB0_6:
	movl	$1, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IOETHERSWITCHGETTABLE,4,2      ## @IOETHERSWITCHGETTABLE
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ioctl(IOETHERSWITCHGETTABLE)"

	.comm	_IOETHERSWITCHGETTABLEENTRY,4,2 ## @IOETHERSWITCHGETTABLEENTRY
L_.str.1:                               ## @.str.1
	.asciz	" [%d] %s: portmask 0x%08x\n"

	.no_dead_strip	_atu_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atu_dump
_atu_dump:                              ; @atu_dump
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x0
	add	x0, sp, #24
	mov	w1, #24
	bl	_bzero
	ldr	w0, [x19]
Lloh0:
	adrp	x8, _IOETHERSWITCHGETTABLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IOETHERSWITCHGETTABLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x2, sp, #24
	bl	_ioctl
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_err
LBB0_2:
	ldr	x8, [sp, #24]
	cmp	x8, #1
	b.lt	LBB0_6
; %bb.3:
	mov	x20, #0
	mov	x8, sp
	add	x21, x8, #12
Lloh8:
	adrp	x23, _IOETHERSWITCHGETTABLEENTRY@GOTPAGE
Lloh9:
	ldr	x23, [x23, _IOETHERSWITCHGETTABLEENTRY@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str.1@PAGE
Lloh11:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	w1, #24
	bl	_bzero
	str	x20, [sp, #16]
	ldr	w0, [x19]
	ldr	w1, [x23]
	mov	x2, sp
	bl	_ioctl
	cbnz	x0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	bl	_ether_ntoa
	mov	x2, x0
	ldr	w3, [sp, #8]
	mov	x0, x22
	mov	x1, x20
	bl	_printf
	add	x20, x20, #1
	ldr	x8, [sp, #24]
	cmp	x20, x8
	b.lt	LBB0_4
LBB0_6:
	mov	w0, #1
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_IOETHERSWITCHGETTABLE,4,2      ; @IOETHERSWITCHGETTABLE
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ioctl(IOETHERSWITCHGETTABLE)"

	.comm	_IOETHERSWITCHGETTABLEENTRY,4,2 ; @IOETHERSWITCHGETTABLEENTRY
l_.str.1:                               ; @.str.1
	.asciz	" [%d] %s: portmask 0x%08x\n"

	.no_dead_strip	_atu_dump
.subsections_via_symbols
