	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unsharp_work_thread
_unsharp_work_thread:                   ## @unsharp_work_thread
	.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	%rdx, %r14
	movq	(%rsi), %rbx
	movq	_HB_BUF_FLAG_EOF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%rbx, (%r14)
	movq	$0, (%rsi)
	movq	_HB_FILTER_DONE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movl	%ecx, %r12d
	movq	(%rdi), %r13
	movl	32(%r13), %edi
	movl	32(%rbx), %edx
	movl	36(%rbx), %esi
	callq	_hb_frame_buffer_init
	movq	%rax, %r15
	movups	16(%r13), %xmm0
	movups	%xmm0, 16(%rax)
	movslq	%r12d, %r12
	movq	(%r13), %rax
	movq	8(%r13), %r9
	movq	(%rax,%r12,8), %rax
	movq	8(%rbx), %rcx
	movl	12(%rcx), %edi
	movq	8(%r15), %rdx
	movl	12(%rdx), %esi
	movl	8(%rcx), %edx
	movl	(%rcx), %r8d
	movl	4(%rcx), %ecx
	movq	%rax, (%rsp)
	callq	_unsharp
	movq	(%r13), %rax
	movq	8(%r13), %r9
	addq	$4, %r9
	movq	(%rax,%r12,8), %rax
	addq	$4, %rax
	movq	8(%rbx), %rcx
	movl	28(%rcx), %edi
	movq	8(%r15), %rdx
	movl	28(%rdx), %esi
	movl	24(%rcx), %edx
	movl	16(%rcx), %r8d
	movl	20(%rcx), %ecx
	movq	%rax, (%rsp)
	callq	_unsharp
	movq	(%r13), %rax
	movq	8(%r13), %r9
	addq	$8, %r9
	movq	(%rax,%r12,8), %rax
	addq	$8, %rax
	movq	8(%rbx), %rcx
	movl	44(%rcx), %edi
	movq	8(%r15), %rdx
	movl	44(%rdx), %esi
	movl	40(%rcx), %edx
	movl	32(%rcx), %r8d
	movl	36(%rcx), %ecx
	movq	%rax, (%rsp)
	callq	_unsharp
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movq	%r15, (%r14)
	movq	_HB_FILTER_OK@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HB_BUF_FLAG_EOF,4,2            ## @HB_BUF_FLAG_EOF
	.comm	_HB_FILTER_DONE,4,2             ## @HB_FILTER_DONE
	.comm	_HB_FILTER_OK,4,2               ## @HB_FILTER_OK
	.no_dead_strip	_unsharp_work_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unsharp_work_thread
_unsharp_work_thread:                   ; @unsharp_work_thread
	.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, x2
	ldr	x22, [x1]
	ldr	w8, [x22]
Lloh0:
	adrp	x9, _HB_BUF_FLAG_EOF@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HB_BUF_FLAG_EOF@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	str	x22, [x19]
	str	xzr, [x1]
Lloh3:
	adrp	x8, _HB_FILTER_DONE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HB_FILTER_DONE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x21, x3
	ldr	x23, [x0]
	ldr	w0, [x23, #32]
	ldp	w2, w1, [x22, #32]
	bl	_hb_frame_buffer_init
	mov	x20, x0
	ldr	q0, [x23, #16]
	str	q0, [x0, #16]
	ldp	x8, x5, [x23]
	sbfiz	x21, x21, #3, #32
	ldr	x6, [x8, x21]
	ldr	x8, [x22, #8]
	ldr	x9, [x0, #8]
	ldr	w1, [x9, #12]
	ldp	w2, w0, [x8, #8]
	ldp	w4, w3, [x8]
	bl	_unsharp
	ldp	x9, x8, [x23]
	add	x5, x8, #4
	ldr	x8, [x9, x21]
	add	x6, x8, #4
	ldr	x8, [x22, #8]
	ldr	x9, [x20, #8]
	ldr	w1, [x9, #28]
	ldp	w2, w0, [x8, #24]
	ldp	w4, w3, [x8, #16]
	bl	_unsharp
	ldp	x9, x8, [x23]
	add	x5, x8, #8
	ldr	x8, [x9, x21]
	add	x6, x8, #8
	ldr	x8, [x22, #8]
	ldr	x9, [x20, #8]
	ldr	w1, [x9, #44]
	ldp	w2, w0, [x8, #40]
	ldp	w4, w3, [x8, #32]
	bl	_unsharp
	ldr	w8, [x22]
	str	w8, [x20]
	str	x20, [x19]
Lloh5:
	adrp	x8, _HB_FILTER_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HB_FILTER_OK@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HB_BUF_FLAG_EOF,4,2            ; @HB_BUF_FLAG_EOF
	.comm	_HB_FILTER_DONE,4,2             ; @HB_FILTER_DONE
	.comm	_HB_FILTER_OK,4,2               ; @HB_FILTER_OK
	.no_dead_strip	_unsharp_work_thread
.subsections_via_symbols
