	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_preset_reg_win
_bnxt_preset_reg_win:                   ## @bnxt_preset_reg_win
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_BNXT_PF
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	_BNXT_CAG_REG_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rax
	movq	_BNXT_GRCPF_REG_WINDOW_BASE_OUT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%rax,%rcx), %rsi
	addq	$12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_writel                         ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_CAG_REG_BASE,4,2          ## @BNXT_CAG_REG_BASE
	.comm	_BNXT_GRCPF_REG_WINDOW_BASE_OUT,8,3 ## @BNXT_GRCPF_REG_WINDOW_BASE_OUT
	.no_dead_strip	_bnxt_preset_reg_win
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_preset_reg_win
_bnxt_preset_reg_win:                   ; @bnxt_preset_reg_win
	.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
	bl	_BNXT_PF
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _BNXT_CAG_REG_BASE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_CAG_REG_BASE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _BNXT_GRCPF_REG_WINDOW_BASE_OUT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BNXT_GRCPF_REG_WINDOW_BASE_OUT@GOTPAGEOFF]
	ldr	x9, [x19]
Lloh5:
	ldr	x8, [x8]
	add	x8, x9, x8
	add	x1, x8, #12
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_CAG_REG_BASE,4,2          ; @BNXT_CAG_REG_BASE
	.comm	_BNXT_GRCPF_REG_WINDOW_BASE_OUT,8,3 ; @BNXT_GRCPF_REG_WINDOW_BASE_OUT
	.no_dead_strip	_bnxt_preset_reg_win
.subsections_via_symbols
