	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__yp_check                      ## -- Begin function _yp_check
	.p2align	4, 0x90
__yp_check:                             ## @_yp_check
	.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
	movq	%rdi, %r14
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_YPLOCK
	movq	__yp_domain@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpb	$0, (%rax)
	je	LBB0_1
LBB0_2:
	testq	%r14, %r14
	je	LBB0_4
## %bb.3:
	movq	(%r15), %rax
	movq	%rax, (%r14)
LBB0_4:
	movq	(%r15), %rdi
	callq	_yp_bind_locked
	xorl	%ebx, %ebx
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	(%r15), %rdi
	callq	_yp_unbind_locked
	movl	$1, %ebx
	jmp	LBB0_6
LBB0_1:
	leaq	-32(%rbp), %rdi
	callq	_yp_get_default_domain_locked
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	xorl	%eax, %eax
	callq	_YPUNLOCK
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__yp_domain,8,3                 ## @_yp_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__yp_check                      ; -- Begin function _yp_check
	.p2align	2
__yp_check:                             ; @_yp_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	bl	_YPLOCK
Lloh0:
	adrp	x20, __yp_domain@GOTPAGE
Lloh1:
	ldr	x20, [x20, __yp_domain@GOTPAGEOFF]
	ldr	x8, [x20]
	ldrb	w8, [x8]
	cbz	w8, LBB0_5
LBB0_1:
	cbz	x19, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	str	x8, [x19]
LBB0_3:
	ldr	x0, [x20]
	bl	_yp_bind_locked
	cbnz	x0, LBB0_6
; %bb.4:
	ldr	x0, [x20]
	bl	_yp_unbind_locked
	mov	w19, #1
	b	LBB0_7
LBB0_5:
	add	x0, sp, #8
	bl	_yp_get_default_domain_locked
	cbz	x0, LBB0_1
LBB0_6:
	mov	w19, #0
LBB0_7:
	bl	_YPUNLOCK
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__yp_domain,8,3                 ; @_yp_domain
.subsections_via_symbols
