	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unix_domain_find               ## -- Begin function unix_domain_find
	.p2align	4, 0x90
_unix_domain_find:                      ## @unix_domain_find
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%esi, %esi
	callq	_auth_domain_lookup
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
LBB0_7:
	movq	(%r15), %rax
	cmpq	_svcauth_unix@GOTPCREL(%rip), %rax
	je	LBB0_11
## %bb.8:
	movq	%r15, %rdi
	callq	_auth_domain_put
	jmp	LBB0_10
LBB0_1:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movq	_svcauth_unix@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	leaq	16(%rax), %rdi
	callq	_kref_init
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_kstrdup
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r13, (%rbx)
	movq	$0, 24(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_auth_domain_lookup
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	%rax, %r15
	cmpq	%rbx, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_auth_domain_put
	jmp	LBB0_7
LBB0_9:
	movq	%rbx, %rdi
	callq	_kfree
LBB0_10:
	xorl	%r15d, %r15d
LBB0_11:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_svcauth_unix,4,2               ## @svcauth_unix
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unix_domain_find               ; -- Begin function unix_domain_find
	.p2align	2
_unix_domain_find:                      ; @unix_domain_find
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	x1, #0
	bl	_auth_domain_lookup
	mov	x21, x0
	cbz	x0, LBB0_3
LBB0_1:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _svcauth_unix@GOTPAGE
Lloh1:
	ldr	x9, [x9, _svcauth_unix@GOTPAGEOFF]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.2:
	mov	x0, x21
	bl	_auth_domain_put
	b	LBB0_10
LBB0_3:
Lloh2:
	adrp	x22, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	adrp	x23, _svcauth_unix@GOTPAGE
Lloh5:
	ldr	x23, [x23, _svcauth_unix@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x22]
	mov	w0, #32
	bl	_kmalloc
	cbz	x0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x20, x0
	add	x0, x0, #16
	bl	_kref_init
	ldr	w1, [x22]
	mov	x0, x19
	bl	_kstrdup
	str	x0, [x20, #8]
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x23, [x20]
	str	xzr, [x20, #24]
	mov	x0, x19
	mov	x1, x20
	bl	_auth_domain_lookup
	cbz	x0, LBB0_4
; %bb.7:
	mov	x21, x0
	cmp	x0, x20
	b.eq	LBB0_1
; %bb.8:
	mov	x0, x20
	bl	_auth_domain_put
	b	LBB0_1
LBB0_9:
	mov	x0, x20
	bl	_kfree
LBB0_10:
	mov	x21, #0
LBB0_11:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_svcauth_unix,4,2               ; @svcauth_unix
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
