	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_resolve_hostname           ## -- Begin function rpc_resolve_hostname
	.p2align	4, 0x90
_rpc_resolve_hostname:                  ## @rpc_resolve_hostname
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	callq	_gethostbyname
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	(%rax), %rcx
	movq	_AF_INET@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.2:
	cmpl	$4, 8(%rax)
	jne	LBB0_5
## %bb.3:
	cmpl	$0, 24(%rax)
	je	LBB0_5
## %bb.4:
	movq	16(%rax), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_ntohl                          ## TAILCALL
LBB0_5:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AF_INET,8,3                    ## @AF_INET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rpc_resolve_hostname           ; -- Begin function rpc_resolve_hostname
	.p2align	2
_rpc_resolve_hostname:                  ; @rpc_resolve_hostname
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_gethostbyname
	cbz	x0, LBB0_6
; %bb.1:
	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_6
; %bb.2:
	ldr	w8, [x0, #8]
	cmp	w8, #4
	b.ne	LBB0_6
; %bb.3:
	ldr	w8, [x0, #24]
	cbz	w8, LBB0_6
; %bb.4:
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_6
; %bb.5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ntohl
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_AF_INET,8,3                    ; @AF_INET
.subsections_via_symbols
