	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_oif_get_pad_code
_s5c73m3_oif_get_pad_code:              ## @s5c73m3_oif_get_pad_code
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_OIF_SOURCE_PAD@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jne	LBB0_4
## %bb.1:
	cmpl	$2, %esi
	jge	LBB0_5
## %bb.2:
	testl	%esi, %esi
	jne	LBB0_8
LBB0_7:
	movq	_S5C73M3_ISP_FMT@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	testl	%esi, %esi
	jle	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_OIF_ISP_PAD@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	je	LBB0_7
LBB0_8:
	movq	_S5C73M3_JPEG_FMT@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OIF_SOURCE_PAD,4,2             ## @OIF_SOURCE_PAD
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_S5C73M3_ISP_FMT,4,2            ## @S5C73M3_ISP_FMT
	.comm	_S5C73M3_JPEG_FMT,4,2           ## @S5C73M3_JPEG_FMT
	.comm	_OIF_ISP_PAD,4,2                ## @OIF_ISP_PAD
	.no_dead_strip	_s5c73m3_oif_get_pad_code
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_oif_get_pad_code
_s5c73m3_oif_get_pad_code:              ; @s5c73m3_oif_get_pad_code
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _OIF_SOURCE_PAD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OIF_SOURCE_PAD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.ne	LBB0_3
; %bb.1:
	cmp	w1, #2
	b.ge	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _S5C73M3_ISP_FMT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5C73M3_ISP_FMT@GOTPAGEOFF]
Lloh5:
	adrp	x9, _S5C73M3_JPEG_FMT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S5C73M3_JPEG_FMT@GOTPAGEOFF]
	cmp	w1, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ret
LBB0_3:
	cmp	w1, #1
	b.lt	LBB0_5
LBB0_4:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_5:
Lloh10:
	adrp	x8, _OIF_ISP_PAD@GOTPAGE
Lloh11:
	ldr	x8, [x8, _OIF_ISP_PAD@GOTPAGEOFF]
Lloh12:
	adrp	x9, _S5C73M3_ISP_FMT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _S5C73M3_ISP_FMT@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x10, _S5C73M3_JPEG_FMT@GOTPAGE
Lloh16:
	ldr	x10, [x10, _S5C73M3_JPEG_FMT@GOTPAGEOFF]
	cmp	w8, w0
	csel	x8, x9, x10, eq
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_OIF_SOURCE_PAD,4,2             ; @OIF_SOURCE_PAD
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_S5C73M3_ISP_FMT,4,2            ; @S5C73M3_ISP_FMT
	.comm	_S5C73M3_JPEG_FMT,4,2           ; @S5C73M3_JPEG_FMT
	.comm	_OIF_ISP_PAD,4,2                ; @OIF_ISP_PAD
	.no_dead_strip	_s5c73m3_oif_get_pad_code
.subsections_via_symbols
