	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sd_config
_sd_config:                             ## @sd_config
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r12
	movl	$33028, %esi                    ## imm = 0x8104
	movl	$1, %edx
	callq	_reg_r
	movq	(%r12), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	movl	$33029, %esi                    ## imm = 0x8105
	movl	$1, %edx
	callq	_reg_r
	movq	(%r12), %rax
	movl	(%rax), %ebx
	shll	$8, %ebx
	orl	%r15d, %ebx
	movq	%r12, %rdi
	movl	$33030, %esi                    ## imm = 0x8106
	movl	$1, %edx
	callq	_reg_r
	movq	(%r12), %rax
	movl	(%rax), %r15d
	movq	%r12, %rdi
	movl	$33031, %esi                    ## imm = 0x8107
	movl	$1, %edx
	callq	_reg_r
	cmpl	(%r14), %ebx
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movl	(%rax), %eax
	shll	$8, %eax
	orl	%r15d, %eax
	cmpl	4(%r14), %eax
	jne	LBB0_2
## %bb.3:
	movl	$1, 8(%r12)
	movq	8(%r14), %rax
	movq	%rax, (%r12)
	movq	_Rev012A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movq	_sif_012a_mode@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	_D_PROBE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	callq	_gspca_dbg
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_4:
	movq	_sif_072a_mode@GOTPCREL(%rip), %rax
LBB0_6:
	movq	(%rax), %rdi
	movq	%rdi, 24(%r12)
	callq	_ARRAY_SIZE
	movq	%rax, 16(%r12)
	movq	_EXPO12A_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Bad vendor / product from device\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_Rev012A,8,3                    ## @Rev012A
	.comm	_sif_012a_mode,8,3              ## @sif_012a_mode
	.comm	_sif_072a_mode,8,3              ## @sif_072a_mode
	.comm	_EXPO12A_DEF,4,2                ## @EXPO12A_DEF
	.no_dead_strip	_sd_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sd_config
_sd_config:                             ; @sd_config
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x1
	mov	x19, x0
	mov	w1, #33028
	mov	w2, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w21, [x8]
	mov	x0, x19
	mov	w1, #33029
	mov	w2, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w8, [x8]
	orr	w22, w21, w8, lsl #8
	mov	x0, x19
	mov	w1, #33030
	mov	w2, #1
	bl	_reg_r
	ldr	x8, [x19]
	ldr	w21, [x8]
	mov	x0, x19
	mov	w1, #33031
	mov	w2, #1
	bl	_reg_r
	ldr	w8, [x20]
	cmp	w22, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	w8, [x8]
	orr	w8, w21, w8, lsl #8
	ldr	w9, [x20, #4]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	mov	w8, #1
	str	w8, [x19, #8]
	ldr	x8, [x20, #8]
	str	x8, [x19]
Lloh0:
	adrp	x9, _Rev012A@GOTPAGE
Lloh1:
	ldr	x9, [x9, _Rev012A@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _sif_012a_mode@GOTPAGE
Lloh4:
	ldr	x10, [x10, _sif_012a_mode@GOTPAGEOFF]
Lloh5:
	adrp	x11, _sif_072a_mode@GOTPAGE
Lloh6:
	ldr	x11, [x11, _sif_072a_mode@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	x0, [x8]
	str	x0, [x19, #24]
	bl	_ARRAY_SIZE
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #16]
Lloh7:
	adrp	x8, _EXPO12A_DEF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EXPO12A_DEF@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _D_PROBE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _D_PROBE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x2, l_.str@PAGE
Lloh14:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_gspca_dbg
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Bad vendor / product from device\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_Rev012A,8,3                    ; @Rev012A
	.comm	_sif_012a_mode,8,3              ; @sif_012a_mode
	.comm	_sif_072a_mode,8,3              ; @sif_072a_mode
	.comm	_EXPO12A_DEF,4,2                ; @EXPO12A_DEF
	.no_dead_strip	_sd_config
.subsections_via_symbols
