	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function addrconfig
_addrconfig:                            ## @addrconfig
	.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
	movq	%rdi, %rbx
	leaq	-64(%rbp), %rdi
	callq	_getifaddrs
	xorl	%r12d, %r12d
	testq	%rax, %rax
	je	LBB0_1
LBB0_15:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %rax
	xorl	%r12d, %r12d
	movl	$0, %ebx
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_INADDR_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ebx, %ebx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r15), %r15
	testq	%r15, %r15
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r13d, (%r15)
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$130, (%rax)
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%ebx, %ebx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	$130, %edi
	callq	_htonl
	xorl	%ebx, %ebx
	cmpl	%r14d, %eax
	setne	%bl
	jmp	LBB0_8
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_freeifaddrs
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %eax
	cmpl	$128, %eax
	je	LBB0_12
## %bb.10:
	cmpl	$129, %eax
	je	LBB0_15
## %bb.11:
	movl	%ebx, %r12d
	cmpl	$130, %eax
	je	LBB0_15
	jmp	LBB0_14
LBB0_12:
	testl	%ebx, %ebx
	je	LBB0_15
## %bb.13:
	movl	$130, (%rcx)
LBB0_14:
	movl	$1, %r12d
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_UP,4,2                     ## @IFF_UP
	.comm	_INADDR_LOOPBACK,4,2            ## @INADDR_LOOPBACK
	.comm	_IFT_LOOP,4,2                   ## @IFT_LOOP
	.no_dead_strip	_addrconfig
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function addrconfig
_addrconfig:                            ; @addrconfig
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, #8
	bl	_getifaddrs
	cbz	x0, LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_12
LBB0_2:
	ldr	x20, [sp, #8]
	cbz	x20, LBB0_9
; %bb.3:
	mov	w21, #0
Lloh0:
	adrp	x8, _IFF_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IFF_UP@GOTPAGEOFF]
Lloh2:
	ldr	w22, [x8]
Lloh3:
	adrp	x8, _INADDR_LOOPBACK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INADDR_LOOPBACK@GOTPAGEOFF]
Lloh5:
	ldr	w23, [x8]
	mov	x24, x20
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x24, [x24, #16]
	cbz	x24, LBB0_10
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x24, #8]
	cbz	x8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x24]
	tst	w22, w9
	b.eq	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x8]
	cmp	w8, #130
	ccmp	w21, #0, #0, eq
	b.ne	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #130
	bl	_htonl
	cmp	w0, w23
	cset	w21, ne
	b	LBB0_4
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x20
	bl	_freeifaddrs
	ldr	w8, [x19]
	cmp	w8, #128
	b.eq	LBB0_13
; %bb.11:
	mov	w9, #1
	cmp	w8, #130
	csel	w9, w9, w21, ne
	cmp	w8, #129
	csel	w0, wzr, w9, eq
LBB0_12:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_13:
	cbz	w21, LBB0_1
; %bb.14:
	mov	w8, #130
	str	w8, [x19]
	mov	w0, #1
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_UP,4,2                     ; @IFF_UP
	.comm	_INADDR_LOOPBACK,4,2            ; @INADDR_LOOPBACK
	.comm	_IFT_LOOP,4,2                   ; @IFT_LOOP
	.no_dead_strip	_addrconfig
.subsections_via_symbols
