	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5p_jpeg_set_capture_queue_data
_s5p_jpeg_set_capture_queue_data:       ## @s5p_jpeg_set_capture_queue_data
	.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
	leaq	8(%rdi), %rsi
	movq	(%rdi), %rax
	movq	24(%rdi), %rdi
	movq	%rax, 8(%rbx)
	leaq	12(%rbx), %r9
	movq	_S5P_JPEG_MIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_S5P_JPEG_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	4(%rdi), %r11d
	movl	8(%rdi), %r8d
	movq	_S5P_JPEG_MIN_HEIGHT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %r10d
	movq	_S5P_JPEG_MAX_HEIGHT@GOTPCREL(%rip), %rdi
	movl	(%rdi), %eax
	subq	$8, %rsp
	movq	%rbx, %rdi
	pushq	%r11
	pushq	%rax
	pushq	%r10
	callq	_jpeg_bound_align_image
	addq	$32, %rsp
	movl	12(%rbx), %eax
	imull	8(%rbx), %eax
	movq	24(%rbx), %rcx
	imull	(%rcx), %eax
	sarl	$3, %eax
	movl	%eax, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5P_JPEG_MIN_WIDTH,4,2         ## @S5P_JPEG_MIN_WIDTH
	.comm	_S5P_JPEG_MAX_WIDTH,4,2         ## @S5P_JPEG_MAX_WIDTH
	.comm	_S5P_JPEG_MIN_HEIGHT,4,2        ## @S5P_JPEG_MIN_HEIGHT
	.comm	_S5P_JPEG_MAX_HEIGHT,4,2        ## @S5P_JPEG_MAX_HEIGHT
	.no_dead_strip	_s5p_jpeg_set_capture_queue_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5p_jpeg_set_capture_queue_data
_s5p_jpeg_set_capture_queue_data:       ; @s5p_jpeg_set_capture_queue_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x5, x0, #12
	ldr	d0, [x0]
	mov	x20, x0
	str	d0, [x20, #8]!
Lloh0:
	adrp	x8, _S5P_JPEG_MIN_WIDTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S5P_JPEG_MIN_WIDTH@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x8, _S5P_JPEG_MAX_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5P_JPEG_MAX_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w3, [x8]
	ldr	x8, [x0, #24]
Lloh6:
	adrp	x9, _S5P_JPEG_MIN_HEIGHT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _S5P_JPEG_MIN_HEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x9]
Lloh9:
	adrp	x9, _S5P_JPEG_MAX_HEIGHT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _S5P_JPEG_MAX_HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w7, [x9]
	ldp	w8, w4, [x8, #4]
	str	w8, [sp]
	mov	x1, x20
	bl	_jpeg_bound_align_image
	ldr	w8, [x20]
	ldr	w9, [x19, #12]
	mul	w8, w9, w8
	ldr	x9, [x19, #24]
	ldr	w9, [x9]
	mul	w8, w8, w9
	asr	w8, w8, #3
	str	w8, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S5P_JPEG_MIN_WIDTH,4,2         ; @S5P_JPEG_MIN_WIDTH
	.comm	_S5P_JPEG_MAX_WIDTH,4,2         ; @S5P_JPEG_MAX_WIDTH
	.comm	_S5P_JPEG_MIN_HEIGHT,4,2        ; @S5P_JPEG_MIN_HEIGHT
	.comm	_S5P_JPEG_MAX_HEIGHT,4,2        ; @S5P_JPEG_MAX_HEIGHT
	.no_dead_strip	_s5p_jpeg_set_capture_queue_data
.subsections_via_symbols
