	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_quality
_set_quality:                           ## @set_quality
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	callq	_jpeg_set_qual
	movq	%rbx, %rdi
	movl	$4193, %esi                     ## imm = 0x1061
	movl	$1, %edx
	callq	_reg_w1
	movl	(%rbx), %edx
	orl	$32, %edx
	movq	%rbx, %rdi
	movl	$4320, %esi                     ## imm = 0x10E0
	callq	_reg_w1
	movq	_JPEG_QT0_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	shlq	$2, %rdx
	addq	8(%rbx), %rdx
	movq	%rbx, %rdi
	movl	$4352, %esi                     ## imm = 0x1100
	movl	$64, %ecx
	callq	_reg_w
	movq	_JPEG_QT1_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	shlq	$2, %rdx
	addq	8(%rbx), %rdx
	movq	%rbx, %rdi
	movl	$4416, %esi                     ## imm = 0x1140
	movl	$64, %ecx
	callq	_reg_w
	movq	%rbx, %rdi
	movl	$4193, %esi                     ## imm = 0x1061
	movl	$3, %edx
	callq	_reg_w1
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movl	$4320, %esi                     ## imm = 0x10E0
	callq	_reg_w1
	movl	(%rbx), %edx
	xorl	$12, %edx
	movl	%edx, (%rbx)
	movq	%rbx, %rdi
	movl	$4320, %esi                     ## imm = 0x10E0
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_reg_w1                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_JPEG_QT0_OFFSET,8,3            ## @JPEG_QT0_OFFSET
	.comm	_JPEG_QT1_OFFSET,8,3            ## @JPEG_QT1_OFFSET
	.no_dead_strip	_set_quality
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_quality
_set_quality:                           ; @set_quality
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0, #8]
	bl	_jpeg_set_qual
	mov	x0, x19
	mov	w1, #4193
	mov	w2, #1
	bl	_reg_w1
	ldr	w8, [x19]
	orr	w2, w8, #0x20
	mov	x0, x19
	mov	w1, #4320
	bl	_reg_w1
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _JPEG_QT0_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _JPEG_QT0_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #2
	mov	x0, x19
	mov	w1, #4352
	mov	w3, #64
	bl	_reg_w
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _JPEG_QT1_OFFSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _JPEG_QT1_OFFSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x2, x8, x9, lsl #2
	mov	x0, x19
	mov	w1, #4416
	mov	w3, #64
	bl	_reg_w
	mov	x0, x19
	mov	w1, #4193
	mov	w2, #3
	bl	_reg_w1
	ldr	w2, [x19]
	mov	x0, x19
	mov	w1, #4320
	bl	_reg_w1
	ldr	w8, [x19]
	eor	w2, w8, #0xc
	str	w2, [x19]
	mov	x0, x19
	mov	w1, #4320
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_reg_w1
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_JPEG_QT0_OFFSET,8,3            ; @JPEG_QT0_OFFSET
	.comm	_JPEG_QT1_OFFSET,8,3            ; @JPEG_QT1_OFFSET
	.no_dead_strip	_set_quality
.subsections_via_symbols
