	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_hwrm_set_pg_attr
_bnxt_hwrm_set_pg_attr:                 ## @bnxt_hwrm_set_pg_attr
	.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	_BNXT_PAGE_SHIFT@GOTPCREL(%rip), %rax
	movq	_BNXT_PAGE_SIZE@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpl	$16, (%rcx)
	sete	%bl
	shll	$5, %ebx
	cmpl	$13, (%rax)
	movl	$16, %eax
	cmovnel	%ebx, %eax
	movq	%rdx, %rbx
	movl	%eax, (%rsi)
	movl	(%rdi), %ecx
	testl	%ecx, %ecx
	jle	LBB0_2
## %bb.1:
	xorl	%edx, %edx
	cmpl	$2, %ecx
	sete	%dl
	incl	%edx
	orl	%eax, %edx
	movl	%edx, (%rsi)
	addq	$16, %rdi
	jmp	LBB0_3
LBB0_2:
	movq	8(%rdi), %rdi
LBB0_3:
	movl	(%rdi), %edi
	callq	_cpu_to_le64
	movl	%eax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_PAGE_SHIFT,4,2            ## @BNXT_PAGE_SHIFT
	.comm	_BNXT_PAGE_SIZE,4,2             ## @BNXT_PAGE_SIZE
	.no_dead_strip	_bnxt_hwrm_set_pg_attr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_hwrm_set_pg_attr
_bnxt_hwrm_set_pg_attr:                 ; @bnxt_hwrm_set_pg_attr
	.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, x2
Lloh0:
	adrp	x8, _BNXT_PAGE_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BNXT_PAGE_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _BNXT_PAGE_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BNXT_PAGE_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, #16
	cset	w9, eq
	lsl	w9, w9, #5
	mov	w10, #16
	cmp	w8, #13
	csel	w8, w10, w9, eq
	str	w8, [x1]
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_2
; %bb.1:
	cmp	w9, #2
	mov	w9, #1
	cinc	w9, w9, eq
	orr	w8, w9, w8
	str	w8, [x1]
	add	x8, x0, #16
	b	LBB0_3
LBB0_2:
	ldr	x8, [x0, #8]
LBB0_3:
	ldr	w0, [x8]
	bl	_cpu_to_le64
	str	w0, [x19]
	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_PAGE_SHIFT,4,2            ; @BNXT_PAGE_SHIFT
	.comm	_BNXT_PAGE_SIZE,4,2             ; @BNXT_PAGE_SIZE
	.no_dead_strip	_bnxt_hwrm_set_pg_attr
.subsections_via_symbols
