	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_chip_ident
_sd_chip_ident:                         ## @sd_chip_ident
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	8(%rsi), %eax
	cmpl	$128, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_7
## %bb.2:
	cmpl	$0, 12(%rsi)
	jne	LBB0_7
## %bb.3:
	movl	$0, 4(%rsi)
	movq	_V4L2_IDENT_SN9C20X@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_4
LBB0_5:
	movl	12(%rsi), %eax
	cmpl	8(%rdi), %eax
	jne	LBB0_7
## %bb.6:
	movl	$0, 4(%rsi)
	movq	_i2c_ident@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movl	(%rax,%rcx,4), %eax
LBB0_4:
	movl	%eax, (%rsi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_V4L2_IDENT_SN9C20X,4,2         ## @V4L2_IDENT_SN9C20X
	.comm	_i2c_ident,8,3                  ## @i2c_ident
	.no_dead_strip	_sd_chip_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_chip_ident
_sd_chip_ident:                         ; @sd_chip_ident
	.cfi_startproc
; %bb.0:
	ldr	w9, [x1, #8]
	cmp	w9, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w9, #129
	b.ne	LBB0_6
; %bb.2:
	ldr	w8, [x1, #12]
	cbnz	w8, LBB0_6
; %bb.3:
	mov	w0, #0
Lloh0:
	adrp	x8, _V4L2_IDENT_SN9C20X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_IDENT_SN9C20X@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, wzr, [x1]
	ret
LBB0_4:
	mov	x8, x0
	ldr	w9, [x1, #12]
	ldr	w10, [x0, #8]
	cmp	w9, w10
	b.ne	LBB0_6
; %bb.5:
	mov	w0, #0
Lloh3:
	adrp	x9, _i2c_ident@GOTPAGE
Lloh4:
	ldr	x9, [x9, _i2c_ident@GOTPAGEOFF]
	str	wzr, [x1, #4]
Lloh5:
	ldr	x9, [x9]
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	str	w8, [x1]
	ret
LBB0_6:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_V4L2_IDENT_SN9C20X,4,2         ; @V4L2_IDENT_SN9C20X
	.comm	_i2c_ident,8,3                  ; @i2c_ident
	.no_dead_strip	_sd_chip_ident
.subsections_via_symbols
