	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function output_code
_output_code:                           ## @output_code
	.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
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r12), %ebx
	leal	7(%rbx), %eax
	testl	%ebx, %ebx
	cmovnsl	%ebx, %eax
	andl	$-8, %eax
	subl	%eax, %ebx
	movl	%esi, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movzbl	%al, %esi
	orl	4(%r12), %esi
	movl	%esi, 4(%r12)
	callq	_output_byte
	movl	8(%r12), %edi
	movl	$8, %ecx
	subl	%ebx, %ecx
	movl	%edi, %r13d
	subl	%ecx, %r13d
	movl	%r14d, %ebx
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %ebx
	cmpl	$8, %r13d
	jl	LBB0_2
## %bb.1:
	movzbl	%bl, %esi
	movq	%r15, %rdi
	callq	_output_byte
	sarl	$8, %ebx
	addl	$-8, %r13d
	movl	8(%r12), %edi
LBB0_2:
	movl	(%r12), %eax
	addl	%edi, %eax
	movl	%eax, (%r12)
	movq	_rmask@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%r13d, %rdx
	andl	(%rcx,%rdx,4), %ebx
	movl	%ebx, 4(%r12)
	leal	(,%rdi,8), %ecx
	cmpl	%ecx, %eax
	jne	LBB0_4
## %bb.3:
	movl	$0, (%r12)
	xorl	%eax, %eax
LBB0_4:
	cmpl	%r14d, -44(%rbp)                ## 4-byte Folded Reload
	je	LBB0_6
## %bb.5:
	movq	16(%r12), %rdx
	cmpq	24(%r12), %rdx
	jle	LBB0_18
LBB0_6:
	testl	%eax, %eax
	jle	LBB0_11
## %bb.7:
	cmpl	%ecx, %eax
	jge	LBB0_11
## %bb.8:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_output_byte
	cmpl	(%r13), %eax
	jne	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r12), %eax
	movl	8(%r12), %edi
	addl	$8, %eax
	movl	%eax, (%r12)
	movl	$0, 4(%r12)
	leal	(,%rdi,8), %ecx
	xorl	%ebx, %ebx
	cmpl	%ecx, %eax
	jl	LBB0_9
LBB0_11:
	movq	$0, (%r12)
	cmpl	%r14d, -44(%rbp)                ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.12:
	movl	$9, 8(%r12)
	movl	$9, %edi
	jmp	LBB0_16
LBB0_13:
	incl	%edi
	movl	%edi, 8(%r12)
	cmpl	$16, %edi
	jne	LBB0_15
## %bb.14:
	movq	32(%r12), %rax
	jmp	LBB0_17
LBB0_15:
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_16:
	callq	_MAXCODE
LBB0_17:
	movq	%rax, 24(%r12)
LBB0_18:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLEAR,4,2                      ## @CLEAR
	.comm	_rmask,8,3                      ## @rmask
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.no_dead_strip	_output_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function output_code
_output_code:                           ; @output_code
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _CLEAR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CLEAR@GOTPAGEOFF]
	ldr	x21, [x0]
Lloh2:
	ldr	w22, [x8]
	ldp	w8, w9, [x21]
	negs	w10, w8
	and	w10, w10, #0x7
	and	w8, w8, #0x7
	csneg	w23, w8, w10, mi
	lsl	w8, w1, w23
	and	w8, w8, #0xff
	orr	w1, w8, w9
	str	w1, [x21, #4]
	bl	_output_byte
	ldr	w8, [x21, #8]
	mov	w9, #8
	sub	w10, w9, w23
	sub	w9, w8, w10
	asr	w23, w19, w10
	subs	w24, w9, #8
	b.lt	LBB0_2
; %bb.1:
	and	w1, w23, #0xff
	mov	x0, x20
	bl	_output_byte
	asr	w23, w23, #8
	ldr	w8, [x21, #8]
	mov	x9, x24
LBB0_2:
	ldr	w11, [x21]
Lloh3:
	adrp	x12, _rmask@GOTPAGE
Lloh4:
	ldr	x12, [x12, _rmask@GOTPAGEOFF]
	lsl	w10, w8, #3
	add	w11, w11, w8
	cmp	w11, w10
	str	w11, [x21]
Lloh5:
	ldr	x12, [x12]
	ldr	w9, [x12, w9, sxtw #2]
	and	w1, w9, w23
	str	w1, [x21, #4]
	b.ne	LBB0_4
; %bb.3:
	mov	w11, #0
	str	wzr, [x21]
LBB0_4:
Lloh6:
	adrp	x23, _ARCHIVE_OK@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ARCHIVE_OK@GOTPAGEOFF]
	cmp	w22, w19
	b.eq	LBB0_6
; %bb.5:
	ldp	x9, x12, [x21, #16]
	cmp	x9, x12
	b.le	LBB0_15
LBB0_6:
	cmp	w11, #1
	ccmp	w11, w10, #0, ge
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	bl	_output_byte
	ldr	w8, [x23]
	cmp	w0, w8
	b.ne	LBB0_16
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w1, #0
	ldr	w8, [x21]
	add	w9, w8, #8
	stp	w9, wzr, [x21]
	ldr	w8, [x21, #8]
	cmp	w9, w8, lsl #3
	b.lt	LBB0_7
LBB0_9:
	str	xzr, [x21]
	cmp	w22, w19
	b.ne	LBB0_11
; %bb.10:
	mov	w8, #9
	str	w8, [x21, #8]
	mov	w0, #9
	b	LBB0_13
LBB0_11:
	add	w0, w8, #1
	str	w0, [x21, #8]
	cmp	w0, #16
	b.ne	LBB0_13
; %bb.12:
	ldr	x0, [x21, #32]
	b	LBB0_14
LBB0_13:
	bl	_MAXCODE
LBB0_14:
	str	x0, [x21, #24]
LBB0_15:
	ldr	w0, [x23]
LBB0_16:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_CLEAR,4,2                      ; @CLEAR
	.comm	_rmask,8,3                      ; @rmask
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.no_dead_strip	_output_code
.subsections_via_symbols
