	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flush_policy
_flush_policy:                          ## @flush_policy
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_socket
	movl	%eax, %r14d
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	_policyhead@GOTPCREL(%rip), %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %rbx
	movq	_SIOCDADDRCTL_POLICY@GOTPCREL(%rip), %r12
	movq	_pc_entry@GOTPCREL(%rip), %r13
	leaq	L_.str.1(%rip), %r15
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_TAILQ_NEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_ioctl
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r15, %rdi
	callq	_warn
	jmp	LBB0_6
LBB0_7:
	movl	%r14d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_close                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET6,4,2                   ## @AF_INET6
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"socket(UDP)"

	.comm	_policyhead,4,2                 ## @policyhead
	.comm	_SIOCDADDRCTL_POLICY,4,2        ## @SIOCDADDRCTL_POLICY
L_.str.1:                               ## @.str.1
	.asciz	"ioctl(SIOCDADDRCTL_POLICY)"

	.comm	_pc_entry,4,2                   ## @pc_entry
	.no_dead_strip	_flush_policy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flush_policy
_flush_policy:                          ; @flush_policy
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IPPROTO_UDP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IPPROTO_UDP@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_socket
	mov	x19, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
Lloh11:
	adrp	x0, _policyhead@GOTPAGE
Lloh12:
	ldr	x0, [x0, _policyhead@GOTPAGEOFF]
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_7
; %bb.3:
	mov	x20, x0
Lloh13:
	adrp	x22, _SIOCDADDRCTL_POLICY@GOTPAGE
Lloh14:
	ldr	x22, [x22, _SIOCDADDRCTL_POLICY@GOTPAGEOFF]
Lloh15:
	adrp	x23, _pc_entry@GOTPAGE
Lloh16:
	ldr	x23, [x23, _pc_entry@GOTPAGEOFF]
Lloh17:
	adrp	x21, l_.str.1@PAGE
Lloh18:
	add	x21, x21, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	bl	_TAILQ_NEXT
	mov	x20, x0
	cbz	x0, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_ioctl
	cbz	x0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_warn
	b	LBB0_4
LBB0_7:
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_close
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET6,4,2                   ; @AF_INET6
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"socket(UDP)"

	.comm	_policyhead,4,2                 ; @policyhead
	.comm	_SIOCDADDRCTL_POLICY,4,2        ; @SIOCDADDRCTL_POLICY
l_.str.1:                               ; @.str.1
	.asciz	"ioctl(SIOCDADDRCTL_POLICY)"

	.comm	_pc_entry,4,2                   ; @pc_entry
	.no_dead_strip	_flush_policy
.subsections_via_symbols
