	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_scaler
_update_scaler:                         ## @update_scaler
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rsi
	movq	24(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	xorl	%eax, %eax
	cmpq	$0, 16(%rsi)
	setne	%al
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	movl	%eax, (%rsi)
	movq	_LB_PIXEL_DEPTH_30BPP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rsi)
	movq	8(%rsi), %rdi
	movq	(%rdi), %rax
	movq	(%rax), %rax
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LB_PIXEL_DEPTH_30BPP,4,2       ## @LB_PIXEL_DEPTH_30BPP
	.no_dead_strip	_update_scaler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_scaler
_update_scaler:                         ; @update_scaler
	.cfi_startproc
; %bb.0:
	mov	x1, x0
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x1, #16]
	cmp	x8, #0
	cset	w8, ne
LBB0_2:
	str	w8, [x1]
Lloh0:
	adrp	x8, _LB_PIXEL_DEPTH_30BPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LB_PIXEL_DEPTH_30BPP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x1, #4]
	ldr	x0, [x1, #8]
	ldr	x8, [x0]
	ldr	x2, [x8]
	br	x2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LB_PIXEL_DEPTH_30BPP,4,2       ; @LB_PIXEL_DEPTH_30BPP
	.no_dead_strip	_update_scaler
.subsections_via_symbols
