	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function empress_g_chip_ident
_empress_g_chip_ident:                  ## @empress_g_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
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	(%rdi), %r14
	movq	_V4L2_IDENT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdx)
	movq	$0, 16(%rdx)
	movq	(%rdx), %rax
	movq	_V4L2_CHIP_MATCH_I2C_DRIVER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_5
## %bb.2:
	movq	(%rbx), %rax
LBB0_3:
	movq	_V4L2_CHIP_MATCH_I2C_ADDR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
LBB0_5:
	movq	_core@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_g_chip_ident@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_saa_call_empress               ## TAILCALL
LBB0_4:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_IDENT_NONE,4,2            ## @V4L2_IDENT_NONE
	.comm	_V4L2_CHIP_MATCH_I2C_DRIVER,8,3 ## @V4L2_CHIP_MATCH_I2C_DRIVER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"saa6752hs"

	.comm	_core,4,2                       ## @core
	.comm	_g_chip_ident,4,2               ## @g_chip_ident
	.comm	_V4L2_CHIP_MATCH_I2C_ADDR,8,3   ## @V4L2_CHIP_MATCH_I2C_ADDR
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_empress_g_chip_ident
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function empress_g_chip_ident
_empress_g_chip_ident:                  ; @empress_g_chip_ident
	.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, x2
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _V4L2_IDENT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_IDENT_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2, #24]
	str	xzr, [x2, #16]
	ldr	x8, [x2]
Lloh3:
	adrp	x9, _V4L2_CHIP_MATCH_I2C_DRIVER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_CHIP_MATCH_I2C_DRIVER@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_4
; %bb.2:
	ldr	x8, [x19]
LBB0_3:
Lloh8:
	adrp	x9, _V4L2_CHIP_MATCH_I2C_ADDR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _V4L2_CHIP_MATCH_I2C_ADDR@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
LBB0_4:
Lloh11:
	adrp	x8, _core@GOTPAGE
Lloh12:
	ldr	x8, [x8, _core@GOTPAGEOFF]
Lloh13:
	adrp	x9, _g_chip_ident@GOTPAGE
Lloh14:
	ldr	x9, [x9, _g_chip_ident@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	ldr	w2, [x9]
	mov	x0, x20
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_saa_call_empress
LBB0_5:
Lloh17:
	adrp	x8, _EINVAL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_IDENT_NONE,4,2            ; @V4L2_IDENT_NONE
	.comm	_V4L2_CHIP_MATCH_I2C_DRIVER,8,3 ; @V4L2_CHIP_MATCH_I2C_DRIVER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"saa6752hs"

	.comm	_core,4,2                       ; @core
	.comm	_g_chip_ident,4,2               ; @g_chip_ident
	.comm	_V4L2_CHIP_MATCH_I2C_ADDR,8,3   ; @V4L2_CHIP_MATCH_I2C_ADDR
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_empress_g_chip_ident
.subsections_via_symbols
