	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_addr_dynamic
_set_addr_dynamic:                      ## @set_addr_dynamic
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -120(%rbp)                ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_CTL_NET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movq	_PF_ROUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -76(%rbp)
	movl	$0, -72(%rbp)
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -68(%rbp)
	movq	_NET_RT_IFLIST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movl	$0, -60(%rbp)
	leaq	-80(%rbp), %rdi
	leaq	-104(%rbp), %rcx
	movl	$6, %esi
	xorl	%edx, %edx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_2:
	movq	-104(%rbp), %rsi
	movl	$1, %edi
	callq	_safe_calloc
	movq	%rax, %r15
	leaq	-80(%rbp), %rdi
	leaq	-104(%rbp), %rcx
	movl	$6, %esi
	movq	%rax, %rdx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_sysctl
	cmpl	$-1, %eax
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_4:
	movq	-104(%rbp), %rax
	movq	%r15, %rcx
	addq	%rax, %rcx
	movq	%rcx, -96(%rbp)                 ## 8-byte Spill
	movq	%r15, -112(%rbp)                ## 8-byte Spill
	testq	%rax, %rax
	jle	LBB0_14
## %bb.5:
	movq	_RTM_VERSION@GOTPCREL(%rip), %rbx
	movq	_RTM_IFINFO@GOTPCREL(%rip), %r13
	movq	_co@GOTPCREL(%rip), %r12
	movq	-112(%rbp), %r15                ## 8-byte Reload
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_14
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %r14
	movslq	20(%r15), %r15
	addq	%r14, %r15
	movq	(%r14), %rsi
	cmpq	(%rbx), %rsi
	jne	LBB0_7
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r14), %rax
	cmpq	(%r13), %rax
	jne	LBB0_9
## %bb.11:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_strlen
	cmpq	24(%r14), %rax
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=1
	movl	32(%r14), %esi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rax, %rdx
	callq	_strncmp
	testq	%rax, %rax
	jne	LBB0_9
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	cmpq	$0, (%r12)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
	jmp	LBB0_9
LBB0_13:
	cmpl	$0, 16(%r14)
	jne	LBB0_15
LBB0_14:
	leaq	L_.str.3(%rip), %rsi
	movl	$1, %edi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_errx
LBB0_15:
	cmpq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	movq	_AF_INET@GOTPCREL(%rip), %r14
	jae	LBB0_31
## %bb.16:
	movq	_RTM_VERSION@GOTPCREL(%rip), %r13
	jmp	LBB0_17
LBB0_28:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%r14, %r13
	movq	_AF_INET@GOTPCREL(%rip), %r14
LBB0_29:                                ##   in Loop: Header=BB0_17 Depth=1
	movl	(%rbx), %eax
	cmpl	(%r14), %eax
	je	LBB0_30
LBB0_20:                                ##   in Loop: Header=BB0_17 Depth=1
	addq	%r12, %r15
	cmpq	-96(%rbp), %r15                 ## 8-byte Folded Reload
	jae	LBB0_31
LBB0_17:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_27 Depth 2
	movslq	20(%r15), %r12
	movq	(%r15), %rsi
	cmpq	(%r13), %rsi
	jne	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	8(%r15), %rax
	movq	_RTM_NEWADDR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_31
## %bb.22:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	16(%r15), %ecx
	movq	_RTA_IFA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%ecx, %eax
	je	LBB0_20
## %bb.23:                              ##   in Loop: Header=BB0_17 Depth=1
	leaq	24(%r15), %rbx
	cmpl	$2, %eax
	jl	LBB0_29
## %bb.24:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	%r13, %r14
	movl	$1, %r13d
	testl	%r13d, %ecx
	je	LBB0_27
	.p2align	4, 0x90
LBB0_26:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	%rbx, %rdi
	callq	_SA_SIZE
	cltq
	addq	%rax, %rbx
	movq	_RTA_IFA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_27:                                ##   Parent Loop BB0_17 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	addl	%r13d, %r13d
	cmpl	%eax, %r13d
	jge	LBB0_28
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	16(%r15), %ecx
	testl	%r13d, %ecx
	jne	LBB0_26
	jmp	LBB0_27
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	_co@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	leaq	L_.str.2(%rip), %rdi
	callq	_warnx
	jmp	LBB0_20
LBB0_30:
	testq	%rbx, %rbx
	jne	LBB0_32
LBB0_31:
	movq	_INADDR_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htonl
LBB0_32:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, 4(%rcx)
	movl	(%rcx), %edi
	movq	_IF_NAMESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	callq	_strncpy
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_35
## %bb.33:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_CTL_NET,4,2                    ## @CTL_NET
	.comm	_PF_ROUTE,4,2                   ## @PF_ROUTE
	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_NET_RT_IFLIST,4,2              ## @NET_RT_IFLIST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"iflist-sysctl-estimate"

L_.str.1:                               ## @.str.1
	.asciz	"iflist-sysctl-get"

	.comm	_RTM_VERSION,8,3                ## @RTM_VERSION
	.comm	_co,8,3                         ## @co
L_.str.2:                               ## @.str.2
	.asciz	"routing message version %d not understood"

	.comm	_RTM_IFINFO,8,3                 ## @RTM_IFINFO
L_.str.3:                               ## @.str.3
	.asciz	"unknown interface name %s"

	.comm	_RTM_NEWADDR,8,3                ## @RTM_NEWADDR
	.comm	_RTA_IFA,4,2                    ## @RTA_IFA
	.comm	_INADDR_ANY,4,2                 ## @INADDR_ANY
	.comm	_IF_NAMESIZE,4,2                ## @IF_NAMESIZE
	.no_dead_strip	_set_addr_dynamic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_addr_dynamic
_set_addr_dynamic:                      ; @set_addr_dynamic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x1, [sp]                        ; 8-byte Folded Spill
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
Lloh3:
	adrp	x8, _CTL_NET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTL_NET@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _PF_ROUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PF_ROUTE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #16]
Lloh9:
	adrp	x24, _AF_INET@GOTPAGE
Lloh10:
	ldr	x24, [x24, _AF_INET@GOTPAGEOFF]
	ldr	w8, [x24]
	stp	wzr, w8, [sp, #24]
Lloh11:
	adrp	x8, _NET_RT_IFLIST@GOTPAGE
Lloh12:
	ldr	x8, [x8, _NET_RT_IFLIST@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	stp	w8, wzr, [sp, #32]
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #6
	mov	x2, #0
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.ne	LBB0_2
; %bb.1:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_2:
	ldr	x1, [sp, #8]
	mov	w0, #1
	bl	_safe_calloc
	mov	x21, x0
	add	x0, sp, #16
	add	x3, sp, #8
	mov	w1, #6
	mov	x2, x21
	mov	x4, #0
	mov	w5, #0
	bl	_sysctl
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.3:
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
	ldr	x8, [sp, #8]
	add	x25, x21, x8
Lloh18:
	adrp	x26, _RTM_VERSION@GOTPAGE
Lloh19:
	ldr	x26, [x26, _RTM_VERSION@GOTPAGEOFF]
Lloh20:
	adrp	x27, _co@GOTPAGE
Lloh21:
	ldr	x27, [x27, _co@GOTPAGEOFF]
	mov	x28, x21
	cmp	x8, #1
	b.lt	LBB0_14
; %bb.5:
Lloh22:
	adrp	x20, _RTM_IFINFO@GOTPAGE
Lloh23:
	ldr	x20, [x20, _RTM_IFINFO@GOTPAGEOFF]
Lloh24:
	adrp	x22, l_.str.2@PAGE
Lloh25:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x28, x21
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	cmp	x28, x25
	b.hs	LBB0_14
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x23, x28
	ldrsw	x8, [x28, #20]
	add	x28, x28, x8
	ldr	x1, [x23]
	ldr	x8, [x26]
	cmp	x1, x8
	b.ne	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x23, #8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	bl	_strlen
	ldr	x8, [x23, #24]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x2, x0
	ldr	w1, [x23, #32]
	mov	x0, x19
	bl	_strncmp
	cbnz	x0, LBB0_6
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_warnx
	b	LBB0_6
LBB0_13:
	ldr	w8, [x23, #16]
	cbnz	w8, LBB0_15
LBB0_14:
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_15:
	cmp	x28, x25
	b.hs	LBB0_31
; %bb.16:
Lloh28:
	adrp	x20, _RTA_IFA@GOTPAGE
Lloh29:
	ldr	x20, [x20, _RTA_IFA@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x24, x21
	mov	x21, x19
	mov	x19, x27
Lloh30:
	adrp	x27, _co@GOTPAGE
Lloh31:
	ldr	x27, [x27, _co@GOTPAGEOFF]
LBB0_18:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	w0, [x23]
	ldr	w8, [x24]
	cmp	w0, w8
	b.eq	LBB0_30
LBB0_19:                                ;   in Loop: Header=BB0_20 Depth=1
	add	x28, x28, x22
	cmp	x28, x25
	b.hs	LBB0_31
LBB0_20:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_26 Depth 2
	ldrsw	x22, [x28, #20]
	ldr	x1, [x28]
	ldr	x8, [x26]
	cmp	x1, x8
	b.ne	LBB0_28
; %bb.21:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x28, #8]
Lloh32:
	adrp	x9, _RTM_NEWADDR@GOTPAGE
Lloh33:
	ldr	x9, [x9, _RTM_NEWADDR@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_31
; %bb.22:                               ;   in Loop: Header=BB0_20 Depth=1
	ldr	w9, [x28, #16]
	ldr	w8, [x20]
	tst	w8, w9
	b.eq	LBB0_19
; %bb.23:                               ;   in Loop: Header=BB0_20 Depth=1
	add	x23, x28, #24
	cmp	w8, #2
	b.lt	LBB0_18
; %bb.24:                               ;   in Loop: Header=BB0_20 Depth=1
	mov	x27, x19
	mov	x19, x21
	mov	x21, x24
	mov	w24, #1
	tst	w9, w24
	b.eq	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_20 Depth=1
	mov	x0, x23
	bl	_SA_SIZE
	add	x23, x23, w0, sxtw
	ldr	w8, [x20]
LBB0_26:                                ;   Parent Loop BB0_20 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	lsl	w24, w24, #1
	cmp	w24, w8
	b.ge	LBB0_17
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=2
	ldr	w9, [x28, #16]
	tst	w9, w24
	b.ne	LBB0_25
	b	LBB0_26
LBB0_28:                                ;   in Loop: Header=BB0_20 Depth=1
	ldr	x8, [x27]
	cbz	x8, LBB0_19
; %bb.29:                               ;   in Loop: Header=BB0_20 Depth=1
Lloh35:
	adrp	x0, l_.str.2@PAGE
Lloh36:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
	b	LBB0_19
LBB0_30:
	cbnz	x23, LBB0_32
LBB0_31:
Lloh37:
	adrp	x8, _INADDR_ANY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _INADDR_ANY@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_htonl
LBB0_32:
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	str	w0, [x8, #4]
	ldr	w0, [x8]
Lloh40:
	adrp	x8, _IF_NAMESIZE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IF_NAMESIZE@GOTPAGEOFF]
Lloh42:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_strncpy
	mov	x0, x21
	bl	_free
	ldr	x8, [sp, #40]
Lloh43:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh44:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh45:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_CTL_NET,4,2                    ; @CTL_NET
	.comm	_PF_ROUTE,4,2                   ; @PF_ROUTE
	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_NET_RT_IFLIST,4,2              ; @NET_RT_IFLIST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"iflist-sysctl-estimate"

l_.str.1:                               ; @.str.1
	.asciz	"iflist-sysctl-get"

	.comm	_RTM_VERSION,8,3                ; @RTM_VERSION
	.comm	_co,8,3                         ; @co
l_.str.2:                               ; @.str.2
	.asciz	"routing message version %d not understood"

	.comm	_RTM_IFINFO,8,3                 ; @RTM_IFINFO
l_.str.3:                               ; @.str.3
	.asciz	"unknown interface name %s"

	.comm	_RTM_NEWADDR,8,3                ; @RTM_NEWADDR
	.comm	_RTA_IFA,4,2                    ; @RTA_IFA
	.comm	_INADDR_ANY,4,2                 ; @INADDR_ANY
	.comm	_IF_NAMESIZE,4,2                ; @IF_NAMESIZE
	.no_dead_strip	_set_addr_dynamic
.subsections_via_symbols
