	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__map_v4v6_hostent              ## -- Begin function _map_v4v6_hostent
	.p2align	4, 0x90
__map_v4v6_hostent:                     ## @_map_v4v6_hostent
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rax
	movq	_AF_INET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.1:
	movq	8(%rdi), %rax
	movq	_INADDRSZ@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	_AF_INET6@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rdi)
	movq	_IN6ADDRSZ@GOTPCREL(%rip), %r15
	movslq	(%r15), %rax
	movq	%rax, 8(%rdi)
	movq	16(%rdi), %rbx
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.3:
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	(%rsi), %rsi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %edx
	andl	$3, %edx
	movl	$4, %ecx
	subl	%edx, %ecx
	testl	%edx, %edx
	cmovel	%edx, %ecx
	movq	%r14, %rdx
	subq	%rsi, %rdx
	addl	%ecx, %eax
	cltq
	cmpq	%rax, %rdx
	jl	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	%ecx, %eax
	addq	%rax, %rsi
	movq	%rsi, (%r12)
	movq	(%rbx), %rdi
	callq	__map_v4v6_address
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movslq	(%r15), %rax
	movq	%rax, %rsi
	addq	(%r12), %rsi
	movq	%rsi, (%r12)
	cmpq	$0, 8(%rbx)
	leaq	8(%rbx), %rbx
	jne	LBB0_4
	jmp	LBB0_7
LBB0_5:
	movq	$0, (%rbx)
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_INADDRSZ,8,3                   ## @INADDRSZ
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_IN6ADDRSZ,4,2                  ## @IN6ADDRSZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__map_v4v6_hostent              ; -- Begin function _map_v4v6_hostent
	.p2align	2
__map_v4v6_hostent:                     ; @_map_v4v6_hostent
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _AF_INET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _INADDRSZ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _INADDRSZ@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
Lloh6:
	adrp	x8, _AF_INET6@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AF_INET6@GOTPAGEOFF]
Lloh8:
	adrp	x21, _IN6ADDRSZ@GOTPAGE
Lloh9:
	ldr	x21, [x21, _IN6ADDRSZ@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldrsw	x9, [x21]
	stp	x8, x9, [x0]
	ldr	x22, [x0, #16]
	ldr	x8, [x22]
	cbz	x8, LBB0_7
; %bb.3:
	mov	x19, x2
	mov	x20, x1
	ldr	x8, [x1]
	mov	w23, #4
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ands	w10, w8, #0x3
	sub	w10, w23, w10
	tst	w8, #0x3
	csel	w10, wzr, w10, eq
	sub	x11, x19, x8
	add	w9, w10, w9
	cmp	x11, w9, sxtw
	b.lt	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x8, w10, uxtw
	str	x1, [x20]
	ldr	x0, [x22]
	bl	__map_v4v6_address
	ldr	x8, [x20]
	str	x8, [x22]
	ldrsw	x9, [x21]
	ldr	x8, [x20]
	add	x8, x8, x9
	str	x8, [x20]
	ldr	x10, [x22, #8]!
	cbnz	x10, LBB0_4
	b	LBB0_7
LBB0_6:
	str	xzr, [x22]
LBB0_7:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_INADDRSZ,8,3                   ; @INADDRSZ
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_IN6ADDRSZ,4,2                  ; @IN6ADDRSZ
.subsections_via_symbols
