	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qce_config_reg
_qce_config_reg:                        ## @qce_config_reg
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movl	(%rdi), %r14d
	movl	4(%rdi), %r13d
	sarl	$3, %r14d
	decl	%r14d
	movq	_REQ_SIZE_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movq	_REQ_SIZE_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r14d
	movq	_MASK_DOUT_INTR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r15d
	movq	_MASK_DIN_INTR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %ebx
	movq	_MASK_OP_DONE_INTR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movl	%eax, %r12d
	movq	_MASK_ERR_INTR_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	_PIPE_SET_SELECT_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %r13d
	movq	_PIPE_SET_SELECT_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %r13d
	orl	%r15d, %ebx
	orl	%r12d, %ebx
	orl	%eax, %ebx
	orl	%r14d, %ebx
	orl	%r13d, %ebx
	movq	_HIGH_SPD_EN_N_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	notl	%r15d
	andl	%ebx, %r15d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_2
## %bb.1:
	movq	_LITTLE_ENDIAN_MODE_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	orl	%eax, %r15d
LBB0_2:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_SIZE_SHIFT,4,2             ## @REQ_SIZE_SHIFT
	.comm	_REQ_SIZE_MASK,4,2              ## @REQ_SIZE_MASK
	.comm	_MASK_DOUT_INTR_SHIFT,4,2       ## @MASK_DOUT_INTR_SHIFT
	.comm	_MASK_DIN_INTR_SHIFT,4,2        ## @MASK_DIN_INTR_SHIFT
	.comm	_MASK_OP_DONE_INTR_SHIFT,4,2    ## @MASK_OP_DONE_INTR_SHIFT
	.comm	_MASK_ERR_INTR_SHIFT,4,2        ## @MASK_ERR_INTR_SHIFT
	.comm	_PIPE_SET_SELECT_SHIFT,4,2      ## @PIPE_SET_SELECT_SHIFT
	.comm	_PIPE_SET_SELECT_MASK,4,2       ## @PIPE_SET_SELECT_MASK
	.comm	_HIGH_SPD_EN_N_SHIFT,4,2        ## @HIGH_SPD_EN_N_SHIFT
	.comm	_LITTLE_ENDIAN_MODE_SHIFT,4,2   ## @LITTLE_ENDIAN_MODE_SHIFT
	.no_dead_strip	_qce_config_reg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qce_config_reg
_qce_config_reg:                        ; @qce_config_reg
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	ldp	w8, w23, [x0]
	asr	w8, w8, #3
	sub	w8, w8, #1
Lloh0:
	adrp	x9, _REQ_SIZE_SHIFT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_SIZE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _REQ_SIZE_MASK@GOTPAGE
Lloh4:
	ldr	x10, [x10, _REQ_SIZE_MASK@GOTPAGEOFF]
	lsl	w8, w8, w9
Lloh5:
	ldr	w9, [x10]
	and	w24, w8, w9
Lloh6:
	adrp	x8, _MASK_DOUT_INTR_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MASK_DOUT_INTR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_BIT
	mov	x19, x0
Lloh9:
	adrp	x8, _MASK_DIN_INTR_SHIFT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MASK_DIN_INTR_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_BIT
	mov	x21, x0
Lloh12:
	adrp	x8, _MASK_OP_DONE_INTR_SHIFT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MASK_OP_DONE_INTR_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
Lloh15:
	adrp	x8, _MASK_ERR_INTR_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MASK_ERR_INTR_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_BIT
Lloh18:
	adrp	x8, _PIPE_SET_SELECT_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PIPE_SET_SELECT_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _PIPE_SET_SELECT_MASK@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PIPE_SET_SELECT_MASK@GOTPAGEOFF]
	lsl	w8, w23, w8
Lloh23:
	ldr	w9, [x9]
	and	w8, w8, w9
	orr	w9, w19, w24
	orr	w9, w9, w21
	orr	w9, w9, w22
	orr	w9, w9, w0
	orr	w8, w9, w8
Lloh24:
	adrp	x9, _HIGH_SPD_EN_N_SHIFT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _HIGH_SPD_EN_N_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	bic	w19, w8, w9
	cbz	w20, LBB0_2
; %bb.1:
Lloh27:
	adrp	x8, _LITTLE_ENDIAN_MODE_SHIFT@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LITTLE_ENDIAN_MODE_SHIFT@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_BIT
	orr	w19, w0, w19
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.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
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_SIZE_SHIFT,4,2             ; @REQ_SIZE_SHIFT
	.comm	_REQ_SIZE_MASK,4,2              ; @REQ_SIZE_MASK
	.comm	_MASK_DOUT_INTR_SHIFT,4,2       ; @MASK_DOUT_INTR_SHIFT
	.comm	_MASK_DIN_INTR_SHIFT,4,2        ; @MASK_DIN_INTR_SHIFT
	.comm	_MASK_OP_DONE_INTR_SHIFT,4,2    ; @MASK_OP_DONE_INTR_SHIFT
	.comm	_MASK_ERR_INTR_SHIFT,4,2        ; @MASK_ERR_INTR_SHIFT
	.comm	_PIPE_SET_SELECT_SHIFT,4,2      ; @PIPE_SET_SELECT_SHIFT
	.comm	_PIPE_SET_SELECT_MASK,4,2       ; @PIPE_SET_SELECT_MASK
	.comm	_HIGH_SPD_EN_N_SHIFT,4,2        ; @HIGH_SPD_EN_N_SHIFT
	.comm	_LITTLE_ENDIAN_MODE_SHIFT,4,2   ; @LITTLE_ENDIAN_MODE_SHIFT
	.no_dead_strip	_qce_config_reg
.subsections_via_symbols
