	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sortifaddrs
_sortifaddrs:                           ## @sortifaddrs
	.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	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.1:
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.2:
	movq	%rdi, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rcx
	movq	(%rbx), %rbx
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rax), %rax
	testq	%rax, %rax
	jne	LBB0_3
LBB0_5:
	movq	$0, (%rcx)
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_sortifaddrs
	movq	%rax, %r13
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_sortifaddrs
	movq	%rax, %r12
	testq	%r13, %r13
	setne	%al
	testq	%r12, %r12
	setne	%bl
	movq	%r13, %rcx
	orq	%r12, %rcx
	je	LBB0_19
## %bb.6:
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_8 Depth=1
	testq	%rcx, %rcx
	setne	%al
	testq	%rdx, %rdx
	setne	%bl
	movq	%rcx, %rsi
	orq	%rdx, %rsi
	movq	%r13, %r15
	movq	%rdi, %r14
	movq	%rdx, %r12
	movq	%rcx, %r13
	je	LBB0_20
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testb	$1, %bl
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	testb	$1, %al
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	*-48(%rbp)                      ## 8-byte Folded Reload
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rdx
	movq	%r13, %rcx
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rcx
	xorl	%edx, %edx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r12), %rdx
	xorl	%ecx, %ecx
LBB0_14:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r12, %r13
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	testq	%r14, %r14
	je	LBB0_7
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, (%r15)
	movq	%r14, %rdi
	jmp	LBB0_7
LBB0_17:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rcx
	movq	%r12, %rdx
	jmp	LBB0_15
LBB0_19:
	xorl	%edi, %edi
LBB0_20:
	movq	%rdi, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sortifaddrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sortifaddrs
_sortifaddrs:                           ; @sortifaddrs
	.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
	cbz	x0, LBB0_17
; %bb.1:
	ldr	x8, [x0]
	cbz	x8, LBB0_17
; %bb.2:
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x9, x22
	ldr	x22, [x22]
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
LBB0_5:
	str	xzr, [x9]
	mov	x1, x20
	mov	x2, x19
	bl	_sortifaddrs
	mov	x21, x0
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	bl	_sortifaddrs
	mov	x22, x0
	mov	x0, #0
	cmp	x21, #0
	cset	w10, ne
	cmp	x22, #0
	cset	w11, ne
	orr	x8, x21, x22
	cbz	x8, LBB0_17
; %bb.6:
	mov	x23, #0
	mov	x24, #0
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	x8, #0
	cset	w10, ne
	cmp	x9, #0
	cset	w11, ne
	mov	x23, x21
	mov	x24, x0
	mov	x22, x9
	mov	x21, x8
	orr	x8, x8, x9
	cbz	x8, LBB0_17
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	tbz	w11, #0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	tbz	w10, #0, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	x0, x21
	mov	x1, x22
	mov	x2, x19
	blr	x20
	cmp	w0, #0
	b.le	LBB0_16
; %bb.11:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	x9, [x22]
	mov	x8, x21
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x9, #0
	ldr	x8, [x21]
	mov	x0, x21
	cbnz	x24, LBB0_15
	b	LBB0_7
LBB0_13:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x8, #0
	ldr	x9, [x22]
LBB0_14:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x21, x22
	mov	x0, x21
	cbz	x24, LBB0_7
LBB0_15:                                ;   in Loop: Header=BB0_8 Depth=1
	str	x21, [x23]
	mov	x0, x24
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x8, [x21]
	mov	x9, x22
	mov	x0, x21
	cbnz	x24, LBB0_15
	b	LBB0_7
LBB0_17:
	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
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sortifaddrs
.subsections_via_symbols
