	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function v4l2_ctrls_find_req_obj
_v4l2_ctrls_find_req_obj:               ## @v4l2_ctrls_find_req_obj
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.16:
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_CAST                       ## TAILCALL
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	movq	(%r13), %rax
	movq	_MEDIA_REQUEST_STATE_UPDATING@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	setne	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_req_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_media_request_object_find
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_15
## %bb.7:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%edi, %edi
	subl	(%rax), %edi
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_8:
	movq	_req_ops@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	movq	%r14, %rdx
	callq	_media_request_object_find
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_9
LBB0_15:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:
	movq	%rax, %r15
	movl	(%r14), %eax
	leal	-8(,%rax,8), %esi
	movq	%r15, %rdi
	callq	_v4l2_ctrl_handler_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_13
## %bb.12:
	movq	%r13, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_v4l2_ctrl_request_bind
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_14
LBB0_13:
	movq	%r15, %rdi
	callq	_kfree
	movl	%r12d, %edi
	jmp	LBB0_5
LBB0_10:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_14:
	addq	$4, %r15
	movq	%r15, %rdi
	callq	_media_request_object_get
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_MEDIA_REQUEST_STATE_UPDATING,8,3 ## @MEDIA_REQUEST_STATE_UPDATING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_req_ops,4,2                    ## @req_ops
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_v4l2_ctrls_find_req_obj
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function v4l2_ctrls_find_req_obj
_v4l2_ctrls_find_req_obj:               ; @v4l2_ctrls_find_req_obj
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	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	_ERR_CAST
LBB0_2:
	cbz	w21, LBB0_5
; %bb.3:
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _MEDIA_REQUEST_STATE_UPDATING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MEDIA_REQUEST_STATE_UPDATING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, ne
	bl	_WARN_ON
	cbz	x0, LBB0_9
; %bb.4:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh5:
	adrp	x1, _req_ops@GOTPAGE
Lloh6:
	ldr	x1, [x1, _req_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	bl	_media_request_object_find
	mov	x21, x0
	cbnz	x0, LBB0_10
; %bb.6:
Lloh7:
	adrp	x8, _ENOENT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	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	_ERR_PTR
LBB0_9:
Lloh9:
	adrp	x1, _req_ops@GOTPAGE
Lloh10:
	ldr	x1, [x1, _req_ops@GOTPAGEOFF]
	mov	x0, x20
	mov	x2, x19
	bl	_media_request_object_find
	mov	x21, x0
	cbz	x0, LBB0_11
LBB0_10:
	mov	x0, x21
	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_11:
Lloh11:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.12:
	mov	x21, x0
	ldr	w8, [x19]
	lsl	w8, w8, #3
	sub	w1, w8, #8
	bl	_v4l2_ctrl_handler_init
	mov	x22, x0
	cbnz	w0, LBB0_14
; %bb.13:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x19
	bl	_v4l2_ctrl_request_bind
	mov	x22, x0
	cbz	w0, LBB0_16
LBB0_14:
	mov	x0, x21
	bl	_kfree
	mov	x0, x22
	b	LBB0_8
LBB0_15:
Lloh14:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_16:
	add	x21, x21, #4
	mov	x0, x21
	bl	_media_request_object_get
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MEDIA_REQUEST_STATE_UPDATING,8,3 ; @MEDIA_REQUEST_STATE_UPDATING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_req_ops,4,2                    ; @req_ops
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_v4l2_ctrls_find_req_obj
.subsections_via_symbols
