	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bind_host
_bind_host:                             ## @bind_host
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$80, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rax
	movq	%rdi, -40(%rbp)
	movq	_RPC_ANYSOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -28(%rbp)
	movq	_YPBINDPROG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_YPBINDVERS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	leaq	-28(%rbp), %r9
	movq	%rax, %rdi
	movl	$15, %ecx
	xorl	%r8d, %r8d
	callq	_clntudp_create
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movl	$5, -56(%rbp)
	movq	$0, -48(%rbp)
	movq	_YPBINDPROC_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_domainname@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_xdr_ypbind_resp@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movups	-56(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	leaq	-40(%rbp), %rcx
	leaq	-72(%rbp), %r9
	movq	%r14, %rdi
	callq	_clnt_call
	movl	%eax, %ebx
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_3
## %bb.4:
	movq	-72(%rbp), %rdi
	movq	_YPBIND_SUCC_VAL@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_5
## %bb.6:
	movq	%r14, %rdi
	callq	_clnt_destroy
	leaq	-64(%rbp), %rsi
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_memmove
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_gethostbyaddr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	(%rax), %rsi
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_9
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	movq	_YPERR_YPBIND@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_3:
	movq	_YPERR_YPBIND@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_yperr_string
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	movq	%r14, %rdi
	callq	_clnt_destroy
	movl	(%rbx), %ebx
	jmp	LBB0_10
LBB0_5:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_yperr_string
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_warnx
	movq	%r14, %rdi
	callq	_clnt_destroy
	jmp	LBB0_10
LBB0_8:
	movl	-24(%rbp), %edi
	callq	_inet_ntoa
	leaq	L_.str.3(%rip), %rdi
	movq	%rax, %rsi
LBB0_9:
	callq	_printf
	xorl	%ebx, %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$80, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RPC_ANYSOCK,4,2                ## @RPC_ANYSOCK
	.comm	_YPBINDPROG,4,2                 ## @YPBINDPROG
	.comm	_YPBINDVERS,4,2                 ## @YPBINDVERS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"host is not bound to a ypmaster"

	.comm	_YPERR_YPBIND,4,2               ## @YPERR_YPBIND
	.comm	_YPBINDPROC_DOMAIN,4,2          ## @YPBINDPROC_DOMAIN
	.comm	_xdr_domainname,8,3             ## @xdr_domainname
	.comm	_xdr_ypbind_resp,8,3            ## @xdr_ypbind_resp
	.comm	_RPC_SUCCESS,4,2                ## @RPC_SUCCESS
L_.str.1:                               ## @.str.1
	.asciz	"can't clnt_call: %s"

	.comm	_YPBIND_SUCC_VAL,8,3            ## @YPBIND_SUCC_VAL
L_.str.2:                               ## @.str.2
	.asciz	"can't yp_bind: reason: %s"

	.comm	_AF_INET,4,2                    ## @AF_INET
L_.str.3:                               ## @.str.3
	.asciz	"%s\n"

	.no_dead_strip	_bind_host
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bind_host
_bind_host:                             ; @bind_host
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x8, x1
	stur	x0, [x29, #-24]
Lloh0:
	adrp	x9, _RPC_ANYSOCK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RPC_ANYSOCK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	str	w9, [sp, #12]
Lloh3:
	adrp	x9, _YPBINDPROG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _YPBINDPROG@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x9]
Lloh6:
	adrp	x9, _YPBINDVERS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _YPBINDVERS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	add	x5, sp, #12
	mov	x0, x8
	mov	w3, #15
	mov	x4, #0
	bl	_clntudp_create
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
Lloh9:
	adrp	x8, _YPBINDPROC_DOMAIN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _YPBINDPROC_DOMAIN@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _xdr_domainname@GOTPAGE
Lloh13:
	ldr	x8, [x8, _xdr_domainname@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _xdr_ypbind_resp@GOTPAGE
Lloh16:
	ldr	x8, [x8, _xdr_ypbind_resp@GOTPAGEOFF]
Lloh17:
	ldr	w4, [x8]
	sub	x3, x29, #24
	add	x5, sp, #24
	mov	w6, #5
	mov	x7, #0
	bl	_clnt_call
Lloh18:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	x0, [sp, #24]
Lloh21:
	adrp	x8, _YPBIND_SUCC_VAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _YPBIND_SUCC_VAL@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	mov	x0, x19
	bl	_clnt_destroy
	add	x8, sp, #24
	add	x1, x8, #8
	add	x0, sp, #16
	mov	w2, #4
	bl	_memmove
Lloh24:
	adrp	x8, _AF_INET@GOTPAGE
Lloh25:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x0, sp, #16
	mov	w1, #4
	bl	_gethostbyaddr
	cbz	x0, LBB0_8
; %bb.4:
	ldr	x1, [x0]
	b	LBB0_9
LBB0_5:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warnx
Lloh29:
	adrp	x8, _YPERR_YPBIND@GOTPAGE
Lloh30:
	ldr	x8, [x8, _YPERR_YPBIND@GOTPAGEOFF]
Lloh31:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_6:
Lloh32:
	adrp	x20, _YPERR_YPBIND@GOTPAGE
Lloh33:
	ldr	x20, [x20, _YPERR_YPBIND@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_yperr_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh34:
	adrp	x0, l_.str.1@PAGE
Lloh35:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	mov	x0, x19
	bl	_clnt_destroy
	ldr	w20, [x20]
	b	LBB0_10
LBB0_7:
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_yperr_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh36:
	adrp	x0, l_.str.2@PAGE
Lloh37:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_warnx
	mov	x0, x19
	bl	_clnt_destroy
	b	LBB0_10
LBB0_8:
	ldr	w0, [sp, #16]
	bl	_inet_ntoa
	mov	x1, x0
LBB0_9:
Lloh38:
	adrp	x0, l_.str.3@PAGE
Lloh39:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printf
	mov	w20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_RPC_ANYSOCK,4,2                ; @RPC_ANYSOCK
	.comm	_YPBINDPROG,4,2                 ; @YPBINDPROG
	.comm	_YPBINDVERS,4,2                 ; @YPBINDVERS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"host is not bound to a ypmaster"

	.comm	_YPERR_YPBIND,4,2               ; @YPERR_YPBIND
	.comm	_YPBINDPROC_DOMAIN,4,2          ; @YPBINDPROC_DOMAIN
	.comm	_xdr_domainname,8,3             ; @xdr_domainname
	.comm	_xdr_ypbind_resp,8,3            ; @xdr_ypbind_resp
	.comm	_RPC_SUCCESS,4,2                ; @RPC_SUCCESS
l_.str.1:                               ; @.str.1
	.asciz	"can't clnt_call: %s"

	.comm	_YPBIND_SUCC_VAL,8,3            ; @YPBIND_SUCC_VAL
l_.str.2:                               ; @.str.2
	.asciz	"can't yp_bind: reason: %s"

	.comm	_AF_INET,4,2                    ; @AF_INET
l_.str.3:                               ; @.str.3
	.asciz	"%s\n"

	.no_dead_strip	_bind_host
.subsections_via_symbols
