	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yp_init_resolver               ## -- Begin function yp_init_resolver
	.p2align	4, 0x90
_yp_init_resolver:                      ## @yp_init_resolver
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_qhead@GOTPCREL(%rip), %rdi
	callq	_TAILQ_INIT
	movq	__res@GOTPCREL(%rip), %rax
	movq	_RES_INIT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	callq	_res_init
	cmpl	$-1, %eax
	je	LBB0_2
LBB0_3:
	movq	_AF_INET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_socket
	movq	_resfd@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	cmpl	$-1, %eax
	je	LBB0_4
## %bb.5:
	movq	_F_SETFL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_O_NONBLOCK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_fcntl
	cmpl	$-1, %eax
	jne	LBB0_8
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_7:
	callq	_yp_error
	movl	$1, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qhead,4,2                      ## @qhead
	.comm	__res,4,2                       ## @_res
	.comm	_RES_INIT,4,2                   ## @RES_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"res_init failed"

	.comm	_AF_INET,4,2                    ## @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ## @SOCK_DGRAM
	.comm	_resfd,4,2                      ## @resfd
L_.str.1:                               ## @.str.1
	.asciz	"couldn't create socket"

	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ## @O_NONBLOCK
L_.str.2:                               ## @.str.2
	.asciz	"couldn't make resolver socket non-blocking"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_yp_init_resolver               ; -- Begin function yp_init_resolver
	.p2align	2
_yp_init_resolver:                      ; @yp_init_resolver
	.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
Lloh0:
	adrp	x0, _qhead@GOTPAGE
Lloh1:
	ldr	x0, [x0, _qhead@GOTPAGEOFF]
	bl	_TAILQ_INIT
Lloh2:
	adrp	x8, __res@GOTPAGE
Lloh3:
	ldr	x8, [x8, __res@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _RES_INIT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _RES_INIT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_2
; %bb.1:
	bl	_res_init
	cmn	w0, #1
	b.eq	LBB0_7
LBB0_2:
Lloh8:
	adrp	x8, _AF_INET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _AF_INET@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _SOCK_DGRAM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SOCK_DGRAM@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_socket
Lloh14:
	adrp	x8, _resfd@GOTPAGE
Lloh15:
	ldr	x8, [x8, _resfd@GOTPAGEOFF]
Lloh16:
	str	w0, [x8]
	cmn	w0, #1
	b.eq	LBB0_5
; %bb.3:
Lloh17:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _O_NONBLOCK@GOTPAGE
Lloh21:
	ldr	x8, [x8, _O_NONBLOCK@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	bl	_fcntl
	cmn	w0, #1
	b.eq	LBB0_6
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh23:
	adrp	x0, l_.str.1@PAGE
Lloh24:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_8
LBB0_6:
Lloh25:
	adrp	x0, l_.str.2@PAGE
Lloh26:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_7:
Lloh27:
	adrp	x0, l_.str@PAGE
Lloh28:
	add	x0, x0, l_.str@PAGEOFF
LBB0_8:
	bl	_yp_error
	mov	w0, #1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_qhead,4,2                      ; @qhead
	.comm	__res,4,2                       ; @_res
	.comm	_RES_INIT,4,2                   ; @RES_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"res_init failed"

	.comm	_AF_INET,4,2                    ; @AF_INET
	.comm	_SOCK_DGRAM,4,2                 ; @SOCK_DGRAM
	.comm	_resfd,4,2                      ; @resfd
l_.str.1:                               ; @.str.1
	.asciz	"couldn't create socket"

	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_O_NONBLOCK,4,2                 ; @O_NONBLOCK
l_.str.2:                               ; @.str.2
	.asciz	"couldn't make resolver socket non-blocking"

.subsections_via_symbols
