	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xo_do_emit
_xo_do_emit:                            ## @xo_do_emit
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	$0, 8(%rdi)
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	$0, -56(%rbp)
	movq	_XOF_RETAIN_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_XOF_ISSET
	xorl	%ebx, %ebx
	movq	_XOEF_RETAIN@GOTPCREL(%rip), %rcx
	movl	$0, %r13d
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movl	(%rcx), %r13d
LBB0_4:
	orl	%r15d, %r13d
	movq	_XOF_RETAIN_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movq	%rcx, %r15
	callq	_XOF_ISSET
	movl	(%r15), %ecx
	movl	%ecx, %edx
	cmpq	$1, %rax
	sbbl	%ebx, %ebx
	notl	%edx
	orl	%edx, %ebx
	andl	%r13d, %ebx
	testl	%ecx, %ebx
	je	LBB0_7
## %bb.5:
	leaq	-56(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	movq	%r14, %rdi
	callq	_xo_retain_find
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	cmpq	$0, -56(%rbp)
	jne	LBB0_10
LBB0_7:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_xo_count_fields
                                        ## kill: def $eax killed $eax def $rax
	movl	%eax, -44(%rbp)
	leal	(,%rax,4), %edi
	callq	_alloca
	movq	%rax, -56(%rbp)
	movl	-44(%rbp), %esi
	shll	$2, %esi
	movq	%rax, %rdi
	callq	_bzero
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_xo_parse_fields
	movq	%rax, %rcx
	movl	$-1, %eax
	testq	%rcx, %rcx
	jne	LBB0_11
## %bb.8:
	testl	%ebx, (%r15)
	je	LBB0_10
## %bb.9:
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edx
	movq	%r14, %rdi
	callq	_xo_retain_add
LBB0_10:
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edx
	movq	%r12, %rdi
	movq	%r14, %rcx
	callq	_xo_do_emit_fields
	jmp	LBB0_11
LBB0_1:
	xorl	%eax, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,4,2                      ## @errno
	.comm	_XOF_RETAIN_ALL,4,2             ## @XOF_RETAIN_ALL
	.comm	_XOEF_RETAIN,4,2                ## @XOEF_RETAIN
	.comm	_XOF_RETAIN_NONE,4,2            ## @XOF_RETAIN_NONE
	.no_dead_strip	_xo_do_emit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xo_do_emit
_xo_do_emit:                            ; @xo_do_emit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	str	xzr, [x0, #8]
Lloh0:
	adrp	x8, _errno@GOTPAGE
Lloh1:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x0]
	cbz	x2, LBB0_6
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	str	xzr, [sp]
Lloh3:
	adrp	x8, _XOF_RETAIN_ALL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XOF_RETAIN_ALL@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_XOF_ISSET
Lloh6:
	adrp	x22, _XOEF_RETAIN@GOTPAGE
Lloh7:
	ldr	x22, [x22, _XOEF_RETAIN@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	x0, #0
	csel	w8, wzr, w8, eq
	orr	w21, w8, w21
Lloh8:
	adrp	x8, _XOF_RETAIN_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _XOF_RETAIN_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_XOF_ISSET
	ldr	w8, [x22]
	cmp	x0, #0
	mov	w9, #-1
	csinv	w9, w9, w8, eq
	and	w21, w9, w21
	tst	w21, w8
	b.eq	LBB0_4
; %bb.2:
	mov	x1, sp
	add	x2, sp, #12
	mov	x0, x19
	bl	_xo_retain_find
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x8, [sp]
	cbnz	x8, LBB0_9
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_xo_count_fields
	str	w0, [sp, #12]
	lsl	w0, w0, #2
	bl	_alloca
	str	x0, [sp]
	ldr	w8, [sp, #12]
	lsl	w1, w8, #2
	bl	_bzero
	ldr	x1, [sp]
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x3, x19
	bl	_xo_parse_fields
	cbz	x0, LBB0_7
; %bb.5:
	mov	w0, #-1
	b	LBB0_10
LBB0_6:
	mov	w0, #0
	b	LBB0_10
LBB0_7:
	ldr	w8, [x22]
	tst	w8, w21
	b.eq	LBB0_9
; %bb.8:
	ldr	x1, [sp]
	ldr	w2, [sp, #12]
	mov	x0, x19
	bl	_xo_retain_add
LBB0_9:
	ldr	x1, [sp]
	ldr	w2, [sp, #12]
	mov	x0, x20
	mov	x3, x19
	bl	_xo_do_emit_fields
LBB0_10:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,4,2                      ; @errno
	.comm	_XOF_RETAIN_ALL,4,2             ; @XOF_RETAIN_ALL
	.comm	_XOEF_RETAIN,4,2                ; @XOEF_RETAIN
	.comm	_XOF_RETAIN_NONE,4,2            ; @XOF_RETAIN_NONE
	.no_dead_strip	_xo_do_emit
.subsections_via_symbols
