	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fetch_inaddr_ex_tok
_fetch_inaddr_ex_tok:                   ## @fetch_inaddr_ex_tok
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	8(%rdi), %rdx
	movl	(%rdi), %ecx
	movq	%rsi, %rdi
	movl	%r14d, %esi
	xorl	%r8d, %r8d
	callq	_READ_TOKEN_U_INT32
	movq	8(%rbx), %rdx
	movq	_AU_IPv4@GOTPCREL(%rip), %rax
	movl	$4, %ecx
	cmpq	(%rax), %rdx
	je	LBB0_2
## %bb.1:
	movq	_AU_IPv6@GOTPCREL(%rip), %rsi
	movl	$-1, %eax
	movl	$8, %ecx
	cmpq	(%rsi), %rdx
	jne	LBB0_3
LBB0_2:
	movq	16(%rbx), %rdx
	movl	(%rbx), %r8d
	movq	%r15, %rdi
	movl	%r14d, %esi
	xorl	%r9d, %r9d
	callq	_READ_TOKEN_BYTES
	xorl	%eax, %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AU_IPv4,8,3                    ## @AU_IPv4
	.comm	_AU_IPv6,8,3                    ## @AU_IPv6
	.no_dead_strip	_fetch_inaddr_ex_tok
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fetch_inaddr_ex_tok
_fetch_inaddr_ex_tok:                   ; @fetch_inaddr_ex_tok
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x2, [x0, #8]
	ldr	w3, [x0]
	mov	x0, x1
	mov	x1, x19
	mov	w4, #0
	bl	_READ_TOKEN_U_INT32
	ldr	x8, [x21, #8]
Lloh0:
	adrp	x9, _AU_IPv4@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AU_IPv4@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w3, #4
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _AU_IPv6@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AU_IPv6@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w3, #8
LBB0_4:
	ldr	x2, [x21, #16]
	ldr	w4, [x21]
	mov	x0, x20
	mov	x1, x19
	mov	w5, #0
	bl	_READ_TOKEN_BYTES
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AU_IPv4,8,3                    ; @AU_IPv4
	.comm	_AU_IPv6,8,3                    ; @AU_IPv6
	.no_dead_strip	_fetch_inaddr_ex_tok
.subsections_via_symbols
