	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_stat_request_statistics ## -- Begin function omap3isp_stat_request_statistics
	.p2align	4, 0x90
_omap3isp_stat_request_statistics:      ## @omap3isp_stat_request_statistics
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ISPSTAT_ENABLED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	%rsi, %r15
	leaq	8(%rbx), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_isp_stat_buf_get
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.5:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	16(%rbx), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %edx
	leaq	L_.str(%rip), %rsi
	callq	_dev_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_4
LBB0_3:
	movl	20(%r12), %eax
	movl	%eax, 16(%r15)
	movl	16(%r12), %eax
	movq	_NSEC_PER_USEC@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%eax, 12(%r15)
	movl	12(%r12), %eax
	movl	%eax, 8(%r15)
	movl	8(%r12), %eax
	movl	%eax, 4(%r15)
	movl	4(%r12), %eax
	movl	%eax, (%r15)
	movl	$1, (%r12)
	movq	%rbx, %rdi
	callq	_isp_stat_buf_release
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISPSTAT_ENABLED,8,3            ## @ISPSTAT_ENABLED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: engine not enabled.\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_NSEC_PER_USEC,4,2              ## @NSEC_PER_USEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_omap3isp_stat_request_statistics ; -- Begin function omap3isp_stat_request_statistics
	.p2align	2
_omap3isp_stat_request_statistics:      ; @omap3isp_stat_request_statistics
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISPSTAT_ENABLED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISPSTAT_ENABLED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x1
	add	x20, x19, #8
	mov	x0, x20
	bl	_mutex_lock
	mov	x0, x19
	mov	x1, x21
	bl	_isp_stat_buf_get
	mov	x22, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_mutex_unlock
	mov	x0, x22
	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	_PTR_ERR
LBB0_3:
	ldr	x8, [x19, #16]
	ldr	w0, [x8]
	ldr	w2, [x19, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_4:
	ldr	w8, [x22, #20]
	str	w8, [x21, #16]
Lloh8:
	adrp	x8, _NSEC_PER_USEC@GOTPAGE
Lloh9:
	ldr	x8, [x8, _NSEC_PER_USEC@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldp	w10, w9, [x22, #12]
	sdiv	w8, w9, w8
	stp	w10, w8, [x21, #8]
	ldur	d0, [x22, #4]
	str	d0, [x21]
	mov	w8, #1
	str	w8, [x22]
	mov	x0, x19
	bl	_isp_stat_buf_release
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ISPSTAT_ENABLED,8,3            ; @ISPSTAT_ENABLED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: engine not enabled.\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_NSEC_PER_USEC,4,2              ; @NSEC_PER_USEC
.subsections_via_symbols
