	.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, %rbx
	movl	$33028, %esi                    ## imm = 0x8104
	callq	_reg_read
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$33029, %esi                    ## imm = 0x8105
	callq	_reg_read
	movq	_D_PROBE@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	%rbx, %rdi
	movl	$33030, %esi                    ## imm = 0x8106
	callq	_reg_read
	movl	%eax, %r15d
	movq	%rbx, %rdi
	movl	$33031, %esi                    ## imm = 0x8107
	callq	_reg_read
	movl	(%r12), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	movl	%r15d, %ecx
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	%rbx, %rdi
	movl	$34337, %esi                    ## imm = 0x8621
	callq	_reg_read
	movl	(%r12), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_PDEBUG
	movq	_sif_mode@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 4(%rbx)
	callq	_ARRAY_SIZE
	movq	(%r14), %rax
	movq	%rax, (%rbx)
	movq	_BRIGHTNESS_DEF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	leaq	_sd_config.init_data_tb(%rip), %rcx
	movq	(%rcx,%rax,8), %rsi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_vector                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @sd_config.init_data_tb
_sd_config.init_data_tb:
	.quad	129
	.quad	130
	.quad	131
	.quad	128
	.quad	128
	.quad	132

	.comm	_D_PROBE,4,2                    ## @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Webcam Vendor ID: 0x%02x%02x"

L_.str.1:                               ## @.str.1
	.asciz	"Webcam Product ID: 0x%02x%02x"

L_.str.2:                               ## @.str.2
	.asciz	"Window 1 average luminance: %d"

	.comm	_sif_mode,4,2                   ## @sif_mode
	.comm	_BRIGHTNESS_DEF,4,2             ## @BRIGHTNESS_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:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	bl	_reg_read
	mov	x21, x0
	mov	x0, x19
	mov	w1, #33029
	bl	_reg_read
	mov	x2, x0
Lloh0:
	adrp	x22, _D_PROBE@GOTPAGE
Lloh1:
	ldr	x22, [x22, _D_PROBE@GOTPAGEOFF]
	ldr	w0, [x22]
	str	x21, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PDEBUG
	mov	x0, x19
	mov	w1, #33030
	bl	_reg_read
	mov	x21, x0
	mov	x0, x19
	mov	w1, #33031
	bl	_reg_read
	mov	x2, x0
	ldr	w0, [x22]
	str	x21, [sp]
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_PDEBUG
	mov	x0, x19
	mov	w1, #34337
	bl	_reg_read
	mov	x2, x0
	ldr	w0, [x22]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_PDEBUG
Lloh8:
	adrp	x8, _sif_mode@GOTPAGE
Lloh9:
	ldr	x8, [x8, _sif_mode@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	str	w0, [x19, #4]
	bl	_ARRAY_SIZE
	ldr	x8, [x20]
	str	x8, [x19]
Lloh11:
	adrp	x9, _BRIGHTNESS_DEF@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BRIGHTNESS_DEF@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	str	w9, [x19, #8]
Lloh14:
	adrp	x9, _sd_config.init_data_tb@PAGE
Lloh15:
	add	x9, x9, _sd_config.init_data_tb@PAGEOFF
	ldr	x1, [x9, x8, lsl #3]
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_write_vector
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	3                               ; @sd_config.init_data_tb
_sd_config.init_data_tb:
	.quad	129
	.quad	130
	.quad	131
	.quad	128
	.quad	128
	.quad	132

	.comm	_D_PROBE,4,2                    ; @D_PROBE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Webcam Vendor ID: 0x%02x%02x"

l_.str.1:                               ; @.str.1
	.asciz	"Webcam Product ID: 0x%02x%02x"

l_.str.2:                               ; @.str.2
	.asciz	"Window 1 average luminance: %d"

	.comm	_sif_mode,4,2                   ; @sif_mode
	.comm	_BRIGHTNESS_DEF,4,2             ; @BRIGHTNESS_DEF
	.no_dead_strip	_sd_config
.subsections_via_symbols
