	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vimc_pads_init                 ## -- Begin function vimc_pads_init
	.p2align	4, 0x90
_vimc_pads_init:                        ## @vimc_pads_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$16, %esi
	callq	_kcalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	testl	%r14d, %r14d
	je	LBB0_9
## %bb.2:
	movl	%r14d, %r8d
	cmpl	$1, %r14d
	jne	LBB0_5
## %bb.3:
	xorl	%edx, %edx
	jmp	LBB0_7
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_5:
	movl	%r8d, %esi
	andl	$-2, %esi
	movq	%rax, %rdi
	addq	$24, %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edx, -24(%rdi)
	movq	(%rbx,%rdx,8), %rcx
	movq	%rcx, -16(%rdi)
	leal	1(%rdx), %ecx
	movl	%ecx, -8(%rdi)
	movq	8(%rbx,%rdx,8), %rcx
	movq	%rcx, (%rdi)
	addq	$2, %rdx
	addq	$32, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_6
LBB0_7:
	testb	$1, %r8b
	je	LBB0_9
## %bb.8:
	movq	%rdx, %rcx
	shlq	$4, %rcx
	movl	%edx, (%rax,%rcx)
	movq	(%rbx,%rdx,8), %rdx
	movq	%rdx, 8(%rax,%rcx)
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vimc_pads_init                 ; -- Begin function vimc_pads_init
	.p2align	2
_vimc_pads_init:                        ; @vimc_pads_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	w1, #16
	bl	_kcalloc
	cbz	x0, LBB0_5
; %bb.1:
	cbz	w20, LBB0_4
; %bb.2:
	mov	x8, #0
	mov	w9, w20
	add	x10, x0, #8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	stur	w8, [x10, #-8]
	ldr	x11, [x19, x8, lsl #3]
	str	x11, [x10], #16
	add	x8, x8, #1
	cmp	x9, x8
	b.ne	LBB0_3
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
