	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compress_owner
_compress_owner:                        ## @compress_owner
	.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	%r9, %rbx
	movq	%rsi, %r15
	movl	16(%rbp), %r12d
	movq	$0, -56(%rbp)
	cmpl	$0, (%r9)
	je	LBB0_4
## %bb.1:
	movq	%r15, %rdi
	callq	_sldns_buffer_remaining
	cmpl	$1, %r12d
	jne	LBB0_9
## %bb.2:
	cmpl	$11, %eax
	jl	LBB0_14
## %bb.11:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_sldns_buffer_write_u8
	jmp	LBB0_18
LBB0_4:
	movq	%rdi, %r13
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	8(%rdi), %rsi
	leaq	-56(%rbp), %rax
	movq	%rcx, %rdi
	movl	%r12d, %edx
	movq	%rax, %rcx
	callq	_compress_tree_lookup
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	cmpl	%r12d, (%r14)
	jne	LBB0_7
## %bb.6:
	movq	8(%r14), %rdi
	callq	_PTR_CREATE
	movl	%eax, %edi
	callq	_htons
	movl	%eax, (%rbx)
LBB0_7:
	movq	8(%r13), %rsi
	movq	%r15, %rdi
	movl	%r12d, %edx
	movq	%r14, %rcx
	callq	_write_compressed_dname
	movq	_RETVAL_TRUNC@GOTPCREL(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_19
## %bb.8:
	movq	%r15, %rdi
	callq	_sldns_buffer_remaining
	cmpl	$10, %eax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	jge	LBB0_17
	jmp	LBB0_19
LBB0_9:
	cmpl	$12, %eax
	jl	LBB0_14
## %bb.12:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	$2, %edx
	callq	_sldns_buffer_write
	jmp	LBB0_18
LBB0_13:
	movq	%r15, %rdi
	callq	_sldns_buffer_remaining
	movl	(%r13), %edx
	leal	10(%rdx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_15
LBB0_14:
	movq	_RETVAL_TRUNC@GOTPCREL(%rip), %rbx
	jmp	LBB0_19
LBB0_15:
	movq	8(%r13), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_sldns_buffer_write
	movq	_PTR_MAX_OFFSET@GOTPCREL(%rip), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rdx, (%rax)
	jb	LBB0_17
## %bb.16:
	movq	%rdx, %rdi
	callq	_PTR_CREATE
	movl	%eax, %edi
	callq	_htons
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rbx)
LBB0_17:
	movq	8(%r13), %rdi
	movq	-56(%rbp), %r9
	movl	%r12d, %esi
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_compress_tree_store
	testl	%eax, %eax
	je	LBB0_20
LBB0_18:
	movq	_RETVAL_OK@GOTPCREL(%rip), %rbx
LBB0_19:
	movl	(%rbx), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	movq	_RETVAL_OUTMEM@GOTPCREL(%rip), %rbx
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_RETVAL_TRUNC,4,2               ## @RETVAL_TRUNC
	.comm	_PTR_MAX_OFFSET,8,3             ## @PTR_MAX_OFFSET
	.comm	_RETVAL_OUTMEM,4,2              ## @RETVAL_OUTMEM
	.comm	_RETVAL_OK,4,2                  ## @RETVAL_OK
	.no_dead_strip	_compress_owner
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compress_owner
_compress_owner:                        ; @compress_owner
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x23, x5
	mov	x24, x1
	str	xzr, [sp, #8]
	ldr	w9, [x5]
	cbz	w9, LBB0_4
; %bb.1:
	mov	x0, x24
	bl	_sldns_buffer_remaining
	cmp	w19, #1
	b.ne	LBB0_9
; %bb.2:
	cmp	w0, #11
	b.lt	LBB0_12
; %bb.3:
	mov	x0, x24
	mov	w1, #0
	bl	_sldns_buffer_write_u8
	b	LBB0_16
LBB0_4:
	mov	x20, x4
	mov	x8, x3
	mov	x21, x2
	mov	x22, x0
	ldr	x1, [x0, #8]
	add	x3, sp, #8
	mov	x0, x8
	mov	x2, x19
	bl	_compress_tree_lookup
	mov	x25, x0
	cbz	x0, LBB0_11
; %bb.5:
	ldr	w8, [x25]
	cmp	w8, w19
	b.ne	LBB0_7
; %bb.6:
	ldr	x0, [x25, #8]
	bl	_PTR_CREATE
	bl	_htons
	str	w0, [x23]
LBB0_7:
	ldr	x1, [x22, #8]
	mov	x0, x24
	mov	x2, x19
	mov	x3, x25
	bl	_write_compressed_dname
	cbz	w0, LBB0_12
; %bb.8:
	mov	x0, x24
	bl	_sldns_buffer_remaining
	cmp	w0, #10
	b.lt	LBB0_12
	b	LBB0_15
LBB0_9:
	cmp	w0, #12
	b.lt	LBB0_12
; %bb.10:
	mov	x0, x24
	mov	x1, x23
	mov	w2, #2
	bl	_sldns_buffer_write
	b	LBB0_16
LBB0_11:
	mov	x0, x24
	bl	_sldns_buffer_remaining
	ldr	w2, [x22]
	add	w8, w2, #10
	cmp	w0, w8
	b.ge	LBB0_13
LBB0_12:
Lloh0:
	adrp	x8, _RETVAL_TRUNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETVAL_TRUNC@GOTPAGEOFF]
	b	LBB0_17
LBB0_13:
	ldr	x1, [x22, #8]
	mov	x0, x24
	bl	_sldns_buffer_write
Lloh2:
	adrp	x8, _PTR_MAX_OFFSET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PTR_MAX_OFFSET@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x20
	b.lo	LBB0_15
; %bb.14:
	mov	x0, x20
	bl	_PTR_CREATE
	bl	_htons
	str	w0, [x23]
LBB0_15:
	ldr	x0, [x22, #8]
	ldr	x5, [sp, #8]
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, x25
	bl	_compress_tree_store
	cbz	w0, LBB0_18
LBB0_16:
Lloh5:
	adrp	x8, _RETVAL_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RETVAL_OK@GOTPAGEOFF]
LBB0_17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
Lloh7:
	adrp	x8, _RETVAL_OUTMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RETVAL_OUTMEM@GOTPAGEOFF]
	b	LBB0_17
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RETVAL_TRUNC,4,2               ; @RETVAL_TRUNC
	.comm	_PTR_MAX_OFFSET,8,3             ; @PTR_MAX_OFFSET
	.comm	_RETVAL_OUTMEM,4,2              ; @RETVAL_OUTMEM
	.comm	_RETVAL_OK,4,2                  ; @RETVAL_OK
	.no_dead_strip	_compress_owner
.subsections_via_symbols
