	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxa_mbus_build_fmts_xlate
_pxa_mbus_build_fmts_xlate:             ## @pxa_mbus_build_fmts_xlate
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	$0, -48(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_pad@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_enum_mbus_code@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-48(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	je	LBB0_1
LBB0_9:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
                                        ## kill: def $edi killed $edi killed $rdi
LBB0_18:
	callq	_ERR_PTR
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-48(%rbp), %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	-48(%rbp)
	incl	%r14d
	movl	(%r15), %esi
	movl	(%r12), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	movq	%r13, %r8
	callq	_v4l2_subdev_call
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.4:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	*%r15
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	addl	%eax, %r13d
	incl	%ebx
	cmpl	%ebx, %r14d
	jne	LBB0_5
## %bb.8:
	testl	%r13d, %r13d
	je	LBB0_9
## %bb.10:
	incl	%r13d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	movl	$8, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_20
## %bb.11:
	xorl	%r15d, %r15d
	testl	%r14d, %r14d
	je	LBB0_16
## %bb.12:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %ecx
	movq	%rax, %r12
	leaq	(%rax,%rcx,8), %rdx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%ebx, %esi
	callq	*-64(%rbp)                      ## 8-byte Folded Reload
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_17
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	addl	%r13d, %r15d
	incl	%ebx
	cmpl	%ebx, %r14d
	movq	%r12, %rax
	jne	LBB0_13
## %bb.15:
	movl	%r15d, %r15d
LBB0_16:
	movq	$0, (%rax,%r15,8)
	jmp	LBB0_19
LBB0_6:
	movl	%eax, %edi
	jmp	LBB0_18
LBB0_20:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_18
LBB0_17:
	movq	%r12, %rdi
	callq	_kfree
	movl	%r13d, %edi
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ## @pad
	.comm	_enum_mbus_code,4,2             ## @enum_mbus_code
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_pxa_mbus_build_fmts_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxa_mbus_build_fmts_xlate
_pxa_mbus_build_fmts_xlate:             ; @pxa_mbus_build_fmts_xlate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
Lloh3:
	adrp	x22, _pad@GOTPAGE
Lloh4:
	ldr	x22, [x22, _pad@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh5:
	adrp	x23, _enum_mbus_code@GOTPAGE
Lloh6:
	ldr	x23, [x23, _enum_mbus_code@GOTPAGEOFF]
	ldr	w2, [x23]
	add	x4, sp, #8
	mov	x0, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbz	w0, LBB0_5
LBB0_1:
Lloh7:
	adrp	x8, _ENXIO@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	bl	_ERR_PTR
	mov	x21, x0
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_5:
	mov	w24, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	w24, w24, #1
	ldr	w8, [sp, #8]
	add	w8, w8, #1
	str	w8, [sp, #8]
	ldr	w1, [x22]
	ldr	w2, [x23]
	add	x4, sp, #8
	mov	x0, x21
	mov	x3, #0
	bl	_v4l2_subdev_call
	cbz	w0, LBB0_6
; %bb.7:
	cbz	w24, LBB0_1
; %bb.8:
	mov	w22, #0
	mov	w21, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x21
	mov	x2, #0
	blr	x19
	tbnz	w0, #31, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	add	w22, w0, w22
	add	w21, w21, #1
	cmp	w24, w21
	b.ne	LBB0_9
; %bb.11:
	cbz	w22, LBB0_1
; %bb.12:
	add	w0, w22, #1
Lloh9:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	w1, #8
	bl	_kcalloc
	cbz	x0, LBB0_18
; %bb.13:
	mov	x21, x0
	cbz	w24, LBB0_19
; %bb.14:
	mov	w25, #0
	mov	w22, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	add	x2, x21, w25, uxtw #3
	mov	x0, x20
	mov	x1, x22
	blr	x19
	mov	x23, x0
	tbnz	w0, #31, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_15 Depth=1
	add	w25, w23, w25
	add	w22, w22, #1
	cmp	w24, w22
	b.ne	LBB0_15
; %bb.17:
	str	xzr, [x21, x25, lsl #3]
	b	LBB0_4
LBB0_18:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_19:
	mov	x25, #0
	str	xzr, [x21, xzr, lsl #3]
	b	LBB0_4
LBB0_20:
	mov	x0, x21
	bl	_kfree
	mov	x0, x23
	b	LBB0_3
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_pad,4,2                        ; @pad
	.comm	_enum_mbus_code,4,2             ; @enum_mbus_code
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_pxa_mbus_build_fmts_xlate
.subsections_via_symbols
