	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function list_ifaces
_list_ifaces:                           ## @list_ifaces
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	%rdx, %rdi
	movl	$12, %esi
	callq	_ipfw_get_sopt_header
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rbx
	movl	(%r15), %eax
	cmpl	(%rbx), %eax
	jge	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
LBB0_4:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%r14, %rdi
	callq	_IPFW_UH_RLOCK
	movq	%r14, %rdi
	callq	_CHAIN_TO_II
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	callq	_ipfw_objhash_count
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	leal	4(,%rax,4), %ecx
	movl	%eax, 4(%rbx)
	movl	$4, 8(%rbx)
	cmpl	(%rbx), %ecx
	movl	%ecx, (%rbx)
	jle	LBB0_10
## %bb.9:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_10:
	movq	%r14, -40(%rbp)
	movq	%r15, -48(%rbp)
	testq	%r12, %r12
	je	LBB0_12
## %bb.11:
	movq	_export_iface_internal@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	callq	_ipfw_objhash_foreach
LBB0_12:
	movq	%r14, %rdi
	callq	_IPFW_UH_RUNLOCK
	xorl	%eax, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_export_iface_internal,4,2      ## @export_iface_internal
	.no_dead_strip	_list_ifaces
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function list_ifaces
_list_ifaces:                           ; @list_ifaces
	.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, x2
	mov	x19, x0
	mov	x0, x2
	mov	w1, #12
	bl	_ipfw_get_sopt_header
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	ldr	w8, [x20]
	ldr	w9, [x0]
	cmp	w8, w9
	b.ge	LBB0_5
LBB0_2:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
LBB0_4:
	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
LBB0_5:
	mov	x0, x19
	bl	_IPFW_UH_RLOCK
	mov	x0, x19
	bl	_CHAIN_TO_II
	mov	x22, x0
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x22
	bl	_ipfw_objhash_count
LBB0_7:
	lsl	w8, w0, #2
	add	w8, w8, #4
	mov	w9, #4
	stp	w0, w9, [x21, #4]
	ldr	w9, [x21]
	str	w8, [x21]
	cmp	w8, w9
	b.le	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_3
LBB0_9:
	stp	x20, x19, [sp]
	cbz	x22, LBB0_11
; %bb.10:
Lloh4:
	adrp	x8, _export_iface_internal@GOTPAGE
Lloh5:
	ldr	x8, [x8, _export_iface_internal@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x22
	bl	_ipfw_objhash_foreach
LBB0_11:
	mov	x0, x19
	bl	_IPFW_UH_RUNLOCK
	mov	w0, #0
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_export_iface_internal,4,2      ; @export_iface_internal
	.no_dead_strip	_list_ifaces
.subsections_via_symbols
