	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_init_cau_sb_entry          ## -- Begin function qed_init_cau_sb_entry
	.p2align	4, 0x90
_qed_init_cau_sb_entry:                 ## @qed_init_cau_sb_entry
	.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	%r8d, %ebx
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	(%rdi), %r14
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_PF_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %edx
	callq	_SET_FIELD
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_VF_NUMBER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_SET_FIELD
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_VF_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_SET_FIELD
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_SB_TIMESET0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$127, %edx
	callq	_SET_FIELD
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_SB_TIMESET1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$127, %edx
	callq	_SET_FIELD
	movq	(%r14), %rax
	movq	_QED_COAL_MODE_ENABLE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_CAU_HC_ENABLE_STATE@GOTPCREL(%rip), %rcx
	movl	8(%r14), %eax
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_QED_CAU_DEF_RX_USECS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_4:
	movl	(%rcx), %r15d
	cmpl	$0, 12(%r14)
	jne	LBB0_6
## %bb.5:
	movq	_QED_CAU_DEF_TX_USECS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%r14)
	jmp	LBB0_6
LBB0_1:
	movq	_CAU_HC_DISABLE_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	8(%r14), %eax
LBB0_6:
	xorl	%ecx, %ecx
	cmpl	$256, %eax                      ## imm = 0x100
	setl	%cl
	movl	$2, %edx
	subl	%ecx, %edx
	xorl	%r12d, %r12d
	cmpl	$128, %eax
	cmovll	%r12d, %edx
	movl	$2, %ebx
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_TIMER_RES0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SET_FIELD
	movl	12(%r14), %eax
	xorl	%ecx, %ecx
	cmpl	$256, %eax                      ## imm = 0x100
	setl	%cl
	subl	%ecx, %ebx
	cmpl	$128, %eax
	cmovll	%r12d, %ebx
	movl	4(%r13), %edi
	movq	_CAU_SB_ENTRY_TIMER_RES1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edx
	callq	_SET_FIELD
	movl	(%r13), %edi
	movq	_CAU_SB_ENTRY_STATE0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_SET_FIELD
	movl	(%r13), %edi
	movq	_CAU_SB_ENTRY_STATE1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_SET_FIELD                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CAU_SB_ENTRY_PF_NUMBER,4,2     ## @CAU_SB_ENTRY_PF_NUMBER
	.comm	_CAU_SB_ENTRY_VF_NUMBER,4,2     ## @CAU_SB_ENTRY_VF_NUMBER
	.comm	_CAU_SB_ENTRY_VF_VALID,4,2      ## @CAU_SB_ENTRY_VF_VALID
	.comm	_CAU_SB_ENTRY_SB_TIMESET0,4,2   ## @CAU_SB_ENTRY_SB_TIMESET0
	.comm	_CAU_SB_ENTRY_SB_TIMESET1,4,2   ## @CAU_SB_ENTRY_SB_TIMESET1
	.comm	_CAU_HC_DISABLE_STATE,4,2       ## @CAU_HC_DISABLE_STATE
	.comm	_QED_COAL_MODE_ENABLE,8,3       ## @QED_COAL_MODE_ENABLE
	.comm	_CAU_HC_ENABLE_STATE,4,2        ## @CAU_HC_ENABLE_STATE
	.comm	_QED_CAU_DEF_RX_USECS,4,2       ## @QED_CAU_DEF_RX_USECS
	.comm	_QED_CAU_DEF_TX_USECS,4,2       ## @QED_CAU_DEF_TX_USECS
	.comm	_CAU_SB_ENTRY_TIMER_RES0,4,2    ## @CAU_SB_ENTRY_TIMER_RES0
	.comm	_CAU_SB_ENTRY_TIMER_RES1,4,2    ## @CAU_SB_ENTRY_TIMER_RES1
	.comm	_CAU_SB_ENTRY_STATE0,4,2        ## @CAU_SB_ENTRY_STATE0
	.comm	_CAU_SB_ENTRY_STATE1,4,2        ## @CAU_SB_ENTRY_STATE1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qed_init_cau_sb_entry          ; -- Begin function qed_init_cau_sb_entry
	.p2align	2
_qed_init_cau_sb_entry:                 ; @qed_init_cau_sb_entry
	.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, x4
	mov	x21, x3
	mov	x22, x2
	mov	x19, x1
	ldr	x23, [x0]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w0, [x19, #4]
Lloh0:
	adrp	x8, _CAU_SB_ENTRY_PF_NUMBER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CAU_SB_ENTRY_PF_NUMBER@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, x22
	bl	_SET_FIELD
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _CAU_SB_ENTRY_VF_NUMBER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CAU_SB_ENTRY_VF_NUMBER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x2, x21
	bl	_SET_FIELD
	ldr	w0, [x19, #4]
Lloh6:
	adrp	x8, _CAU_SB_ENTRY_VF_VALID@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CAU_SB_ENTRY_VF_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_SET_FIELD
	ldr	w0, [x19, #4]
Lloh9:
	adrp	x8, _CAU_SB_ENTRY_SB_TIMESET0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CAU_SB_ENTRY_SB_TIMESET0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	w2, #127
	bl	_SET_FIELD
	ldr	w0, [x19, #4]
Lloh12:
	adrp	x8, _CAU_SB_ENTRY_SB_TIMESET1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CAU_SB_ENTRY_SB_TIMESET1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	w2, #127
	bl	_SET_FIELD
	ldr	x8, [x23]
Lloh15:
	adrp	x9, _QED_COAL_MODE_ENABLE@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QED_COAL_MODE_ENABLE@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh18:
	adrp	x8, _CAU_HC_ENABLE_STATE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CAU_HC_ENABLE_STATE@GOTPAGEOFF]
Lloh20:
	ldr	w20, [x8]
	ldr	w8, [x23, #8]
	cbz	w8, LBB0_4
; %bb.2:
	ldr	w9, [x23, #12]
	cbnz	w9, LBB0_6
	b	LBB0_5
LBB0_3:
Lloh21:
	adrp	x8, _CAU_HC_DISABLE_STATE@GOTPAGE
Lloh22:
	ldr	x8, [x8, _CAU_HC_DISABLE_STATE@GOTPAGEOFF]
Lloh23:
	ldr	w20, [x8]
	ldr	w8, [x23, #8]
	b	LBB0_6
LBB0_4:
Lloh24:
	adrp	x8, _QED_CAU_DEF_RX_USECS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _QED_CAU_DEF_RX_USECS@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x23, #8]
	ldr	w9, [x23, #12]
	cbnz	w9, LBB0_6
LBB0_5:
Lloh27:
	adrp	x9, _QED_CAU_DEF_TX_USECS@GOTPAGE
Lloh28:
	ldr	x9, [x9, _QED_CAU_DEF_TX_USECS@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	str	w9, [x23, #12]
LBB0_6:
	cmp	w8, #256
	mov	w21, #1
	cinc	w9, w21, ge
	cmp	w8, #128
	csel	w2, wzr, w9, lt
	ldr	w0, [x19, #4]
Lloh30:
	adrp	x8, _CAU_SB_ENTRY_TIMER_RES0@GOTPAGE
Lloh31:
	ldr	x8, [x8, _CAU_SB_ENTRY_TIMER_RES0@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_SET_FIELD
	ldr	w8, [x23, #12]
	cmp	w8, #256
	cinc	w9, w21, ge
	cmp	w8, #128
	csel	w2, wzr, w9, lt
	ldr	w0, [x19, #4]
Lloh33:
	adrp	x8, _CAU_SB_ENTRY_TIMER_RES1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CAU_SB_ENTRY_TIMER_RES1@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	bl	_SET_FIELD
	ldr	w0, [x19]
Lloh36:
	adrp	x8, _CAU_SB_ENTRY_STATE0@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CAU_SB_ENTRY_STATE0@GOTPAGEOFF]
Lloh38:
	ldr	w1, [x8]
	mov	x2, x20
	bl	_SET_FIELD
	ldr	w0, [x19]
Lloh39:
	adrp	x8, _CAU_SB_ENTRY_STATE1@GOTPAGE
Lloh40:
	ldr	x8, [x8, _CAU_SB_ENTRY_STATE1@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	mov	x2, x20
	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
	b	_SET_FIELD
	.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	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_CAU_SB_ENTRY_PF_NUMBER,4,2     ; @CAU_SB_ENTRY_PF_NUMBER
	.comm	_CAU_SB_ENTRY_VF_NUMBER,4,2     ; @CAU_SB_ENTRY_VF_NUMBER
	.comm	_CAU_SB_ENTRY_VF_VALID,4,2      ; @CAU_SB_ENTRY_VF_VALID
	.comm	_CAU_SB_ENTRY_SB_TIMESET0,4,2   ; @CAU_SB_ENTRY_SB_TIMESET0
	.comm	_CAU_SB_ENTRY_SB_TIMESET1,4,2   ; @CAU_SB_ENTRY_SB_TIMESET1
	.comm	_CAU_HC_DISABLE_STATE,4,2       ; @CAU_HC_DISABLE_STATE
	.comm	_QED_COAL_MODE_ENABLE,8,3       ; @QED_COAL_MODE_ENABLE
	.comm	_CAU_HC_ENABLE_STATE,4,2        ; @CAU_HC_ENABLE_STATE
	.comm	_QED_CAU_DEF_RX_USECS,4,2       ; @QED_CAU_DEF_RX_USECS
	.comm	_QED_CAU_DEF_TX_USECS,4,2       ; @QED_CAU_DEF_TX_USECS
	.comm	_CAU_SB_ENTRY_TIMER_RES0,4,2    ; @CAU_SB_ENTRY_TIMER_RES0
	.comm	_CAU_SB_ENTRY_TIMER_RES1,4,2    ; @CAU_SB_ENTRY_TIMER_RES1
	.comm	_CAU_SB_ENTRY_STATE0,4,2        ; @CAU_SB_ENTRY_STATE0
	.comm	_CAU_SB_ENTRY_STATE1,4,2        ; @CAU_SB_ENTRY_STATE1
.subsections_via_symbols
