	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pix_proc_config
_pix_proc_config:                       ## @pix_proc_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movl	4(%rbx), %r14d
	callq	_CAL_PIX_PROC
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_reg_read
	movl	%eax, -28(%rbp)
	movq	_CAL_PIX_PROC_EXTRACT_B8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAL_PIX_PROC_EXTRACT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %r14
	movq	%r14, %rdi
	callq	_set_field
	movq	_CAL_PIX_PROC_DPCMD_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAL_PIX_PROC_DPCMD_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_field
	movq	_CAL_PIX_PROC_DPCME_BYPASS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAL_PIX_PROC_DPCME_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_field
	movq	_CAL_PIX_PROC_PACK_B8@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAL_PIX_PROC_PACK_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_field
	movl	(%rbx), %esi
	movq	_CAL_PIX_PROC_CPORT_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_field
	movq	_CAL_GEN_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_CAL_PIX_PROC_EN_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_set_field
	movl	(%rbx), %edi
	movl	4(%rbx), %r14d
	callq	_CAL_PIX_PROC
	movl	-28(%rbp), %edx
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_reg_write
	movl	(%rbx), %r14d
	movl	4(%rbx), %r15d
	movl	%r14d, %edi
	callq	_CAL_PIX_PROC
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_reg_read
	leaq	L_.str(%rip), %rdx
	movl	$3, %edi
	movq	%rbx, %rsi
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_ctx_dbg
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CAL_PIX_PROC_EXTRACT_B8,4,2    ## @CAL_PIX_PROC_EXTRACT_B8
	.comm	_CAL_PIX_PROC_EXTRACT_MASK,4,2  ## @CAL_PIX_PROC_EXTRACT_MASK
	.comm	_CAL_PIX_PROC_DPCMD_BYPASS,4,2  ## @CAL_PIX_PROC_DPCMD_BYPASS
	.comm	_CAL_PIX_PROC_DPCMD_MASK,4,2    ## @CAL_PIX_PROC_DPCMD_MASK
	.comm	_CAL_PIX_PROC_DPCME_BYPASS,4,2  ## @CAL_PIX_PROC_DPCME_BYPASS
	.comm	_CAL_PIX_PROC_DPCME_MASK,4,2    ## @CAL_PIX_PROC_DPCME_MASK
	.comm	_CAL_PIX_PROC_PACK_B8,4,2       ## @CAL_PIX_PROC_PACK_B8
	.comm	_CAL_PIX_PROC_PACK_MASK,4,2     ## @CAL_PIX_PROC_PACK_MASK
	.comm	_CAL_PIX_PROC_CPORT_MASK,4,2    ## @CAL_PIX_PROC_CPORT_MASK
	.comm	_CAL_GEN_ENABLE,4,2             ## @CAL_GEN_ENABLE
	.comm	_CAL_PIX_PROC_EN_MASK,4,2       ## @CAL_PIX_PROC_EN_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CAL_PIX_PROC(%d) = 0x%08x\n"

	.no_dead_strip	_pix_proc_config
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pix_proc_config
_pix_proc_config:                       ; @pix_proc_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	x19, x0
	ldp	w0, w20, [x0]
	bl	_CAL_PIX_PROC
	mov	x1, x0
	mov	x0, x20
	bl	_reg_read
	str	w0, [sp, #12]
Lloh0:
	adrp	x8, _CAL_PIX_PROC_EXTRACT_B8@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAL_PIX_PROC_EXTRACT_B8@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _CAL_PIX_PROC_EXTRACT_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAL_PIX_PROC_EXTRACT_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_set_field
Lloh6:
	adrp	x8, _CAL_PIX_PROC_DPCMD_BYPASS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAL_PIX_PROC_DPCMD_BYPASS@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _CAL_PIX_PROC_DPCMD_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CAL_PIX_PROC_DPCMD_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_set_field
Lloh12:
	adrp	x8, _CAL_PIX_PROC_DPCME_BYPASS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CAL_PIX_PROC_DPCME_BYPASS@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _CAL_PIX_PROC_DPCME_MASK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _CAL_PIX_PROC_DPCME_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_set_field
Lloh18:
	adrp	x8, _CAL_PIX_PROC_PACK_B8@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CAL_PIX_PROC_PACK_B8@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
Lloh21:
	adrp	x8, _CAL_PIX_PROC_PACK_MASK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CAL_PIX_PROC_PACK_MASK@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_set_field
	ldr	w1, [x19]
Lloh24:
	adrp	x8, _CAL_PIX_PROC_CPORT_MASK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _CAL_PIX_PROC_CPORT_MASK@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_set_field
Lloh27:
	adrp	x8, _CAL_GEN_ENABLE@GOTPAGE
Lloh28:
	ldr	x8, [x8, _CAL_GEN_ENABLE@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _CAL_PIX_PROC_EN_MASK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CAL_PIX_PROC_EN_MASK@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	add	x0, sp, #12
	bl	_set_field
	ldp	w0, w20, [x19]
	bl	_CAL_PIX_PROC
	mov	x1, x0
	ldr	w2, [sp, #12]
	mov	x0, x20
	bl	_reg_write
	ldp	w20, w21, [x19]
	mov	x0, x20
	bl	_CAL_PIX_PROC
	mov	x1, x0
	mov	x0, x21
	bl	_reg_read
	mov	x4, x0
Lloh33:
	adrp	x2, l_.str@PAGE
Lloh34:
	add	x2, x2, l_.str@PAGEOFF
	mov	w0, #3
	mov	x1, x19
	mov	x3, x20
	bl	_ctx_dbg
	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
	ret
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CAL_PIX_PROC_EXTRACT_B8,4,2    ; @CAL_PIX_PROC_EXTRACT_B8
	.comm	_CAL_PIX_PROC_EXTRACT_MASK,4,2  ; @CAL_PIX_PROC_EXTRACT_MASK
	.comm	_CAL_PIX_PROC_DPCMD_BYPASS,4,2  ; @CAL_PIX_PROC_DPCMD_BYPASS
	.comm	_CAL_PIX_PROC_DPCMD_MASK,4,2    ; @CAL_PIX_PROC_DPCMD_MASK
	.comm	_CAL_PIX_PROC_DPCME_BYPASS,4,2  ; @CAL_PIX_PROC_DPCME_BYPASS
	.comm	_CAL_PIX_PROC_DPCME_MASK,4,2    ; @CAL_PIX_PROC_DPCME_MASK
	.comm	_CAL_PIX_PROC_PACK_B8,4,2       ; @CAL_PIX_PROC_PACK_B8
	.comm	_CAL_PIX_PROC_PACK_MASK,4,2     ; @CAL_PIX_PROC_PACK_MASK
	.comm	_CAL_PIX_PROC_CPORT_MASK,4,2    ; @CAL_PIX_PROC_CPORT_MASK
	.comm	_CAL_GEN_ENABLE,4,2             ; @CAL_GEN_ENABLE
	.comm	_CAL_PIX_PROC_EN_MASK,4,2       ; @CAL_PIX_PROC_EN_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CAL_PIX_PROC(%d) = 0x%08x\n"

	.no_dead_strip	_pix_proc_config
.subsections_via_symbols
