	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_resizer_isr           ## -- Begin function omap3isp_resizer_isr
	.p2align	4, 0x90
_omap3isp_resizer_isr:                  ## @omap3isp_resizer_isr
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	addq	$20, %rdi
	leaq	16(%rbx), %rsi
	callq	_omap3isp_module_sync_is_stopping
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rbx, %rdi
	callq	_spin_lock_irqsave
	cmpq	$0, 8(%rbx)
	je	LBB0_3
## %bb.2:
	movq	_RESZ_PAD_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___resizer_get_format
	movq	%rax, %r14
	movq	_RESZ_PAD_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%r15), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	___resizer_get_format
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%r14, %rdx
	callq	_resizer_set_crop_params
	movq	$0, 8(%rbx)
LBB0_3:
	movq	%rbx, %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_resizer_isr_buffer             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RESZ_PAD_SOURCE,4,2            ## @RESZ_PAD_SOURCE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_RESZ_PAD_SINK,4,2              ## @RESZ_PAD_SINK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_resizer_isr           ; -- Begin function omap3isp_resizer_isr
	.p2align	2
_omap3isp_resizer_isr:                  ; @omap3isp_resizer_isr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	add	x0, x0, #20
	add	x1, x19, #16
	bl	_omap3isp_module_sync_is_stopping
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _RESZ_PAD_SOURCE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RESZ_PAD_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x21, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, #0
	bl	___resizer_get_format
	mov	x20, x0
Lloh5:
	adrp	x8, _RESZ_PAD_SINK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RESZ_PAD_SINK@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w3, [x21]
	mov	x0, x19
	mov	x1, #0
	bl	___resizer_get_format
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_resizer_set_crop_params
	str	xzr, [x19, #8]
LBB0_4:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_resizer_isr_buffer
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RESZ_PAD_SOURCE,4,2            ; @RESZ_PAD_SOURCE
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_RESZ_PAD_SINK,4,2              ; @RESZ_PAD_SINK
.subsections_via_symbols
