	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_gasket_logic
_arm_gasket_logic:                      ## @arm_gasket_logic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movslq	(%rdi), %rax
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	movq	_ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %edx
	movq	_pcie_serdes_broadcast@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx,%rax,8), %eax
	movq	_ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_SBR_DELAY_US@GOTPCREL(%rip), %rcx
	movq	_ASIC_PCIE_SD_HOST_CMD_TIMER_MASK@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	(%rcx), %esi
	movq	_ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %esi
	movq	_ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	orl	%esi, %edx
	orl	%eax, %edx
	movq	_ASIC_PCIE_SD_HOST_CMD@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_write_csr
	movl	(%r14), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_read_csr                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT,4,2 ## @ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT
	.comm	_pcie_serdes_broadcast,8,3      ## @pcie_serdes_broadcast
	.comm	_ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT,4,2 ## @ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT
	.comm	_ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK,4,2 ## @ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK
	.comm	_SBR_DELAY_US,8,3               ## @SBR_DELAY_US
	.comm	_ASIC_PCIE_SD_HOST_CMD_TIMER_MASK,4,2 ## @ASIC_PCIE_SD_HOST_CMD_TIMER_MASK
	.comm	_ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT,4,2 ## @ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT
	.comm	_ASIC_PCIE_SD_HOST_CMD,4,2      ## @ASIC_PCIE_SD_HOST_CMD
	.no_dead_strip	_arm_gasket_logic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_gasket_logic
_arm_gasket_logic:                      ; @arm_gasket_logic
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldrsw	x8, [x0]
	mov	w9, #1
	lsl	w9, w9, w8
Lloh0:
	adrp	x10, _ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh3:
	adrp	x10, _pcie_serdes_broadcast@GOTPAGE
Lloh4:
	ldr	x10, [x10, _pcie_serdes_broadcast@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x8, [x10, x8, lsl #3]
Lloh6:
	adrp	x10, _ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	lsl	w8, w8, w10
Lloh9:
	adrp	x10, _ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _SBR_DELAY_US@GOTPAGE
Lloh13:
	ldr	x11, [x11, _SBR_DELAY_US@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
Lloh15:
	adrp	x12, _ASIC_PCIE_SD_HOST_CMD_TIMER_MASK@GOTPAGE
Lloh16:
	ldr	x12, [x12, _ASIC_PCIE_SD_HOST_CMD_TIMER_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	and	w11, w12, w11
Lloh18:
	adrp	x12, _ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT@GOTPAGE
Lloh19:
	ldr	x12, [x12, _ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w12, [x12]
	lsl	w11, w11, w12
	orr	w9, w10, w9
	orr	w8, w9, w8
	orr	w2, w8, w11
Lloh21:
	adrp	x20, _ASIC_PCIE_SD_HOST_CMD@GOTPAGE
Lloh22:
	ldr	x20, [x20, _ASIC_PCIE_SD_HOST_CMD@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_write_csr
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_read_csr
	.loh AdrpLdrGot	Lloh21, Lloh22
	.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	_ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT,4,2 ; @ASIC_PCIE_SD_HOST_CMD_INTRPT_CMD_SHIFT
	.comm	_pcie_serdes_broadcast,8,3      ; @pcie_serdes_broadcast
	.comm	_ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT,4,2 ; @ASIC_PCIE_SD_HOST_CMD_SBUS_RCVR_ADDR_SHIFT
	.comm	_ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK,4,2 ; @ASIC_PCIE_SD_HOST_CMD_SBR_MODE_SMASK
	.comm	_SBR_DELAY_US,8,3               ; @SBR_DELAY_US
	.comm	_ASIC_PCIE_SD_HOST_CMD_TIMER_MASK,4,2 ; @ASIC_PCIE_SD_HOST_CMD_TIMER_MASK
	.comm	_ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT,4,2 ; @ASIC_PCIE_SD_HOST_CMD_TIMER_SHIFT
	.comm	_ASIC_PCIE_SD_HOST_CMD,4,2      ; @ASIC_PCIE_SD_HOST_CMD
	.no_dead_strip	_arm_gasket_logic
.subsections_via_symbols
