	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_set_rx_skb_mode           ## -- Begin function bnxt_set_rx_skb_mode
	.p2align	4, 0x90
_bnxt_set_rx_skb_mode:                  ## @bnxt_set_rx_skb_mode
	.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
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	movq	16(%rbx), %rax
	movq	_BNXT_MAX_PAGE_MODE_MTU@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	cmpq	%rdx, (%rax)
	jle	LBB0_3
## %bb.2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_6
LBB0_4:
	movl	12(%rbx), %eax
	movq	16(%rbx), %rcx
	movl	%eax, 8(%rcx)
	movq	_BNXT_FLAG_RX_PAGE_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_bnxt_rx_skb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	jmp	LBB0_5
LBB0_3:
	movq	_u16@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	12(%rbx), %esi
	callq	_min_t
	movq	16(%rbx), %rdi
	movl	%eax, 8(%rdi)
	movq	_BNXT_FLAG_AGG_RINGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	_BNXT_FLAG_NO_AGG_RINGS@GOTPCREL(%rip), %rcx
	movq	_BNXT_FLAG_RX_PAGE_MODE@GOTPCREL(%rip), %rdx
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	movl	%eax, (%rbx)
	movq	_DMA_BIDIRECTIONAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movq	_bnxt_rx_page_skb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	callq	_netdev_update_features
LBB0_5:
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BNXT_MAX_PAGE_MODE_MTU,8,3     ## @BNXT_MAX_PAGE_MODE_MTU
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_u16,4,2                        ## @u16
	.comm	_BNXT_FLAG_AGG_RINGS,4,2        ## @BNXT_FLAG_AGG_RINGS
	.comm	_BNXT_FLAG_NO_AGG_RINGS,4,2     ## @BNXT_FLAG_NO_AGG_RINGS
	.comm	_BNXT_FLAG_RX_PAGE_MODE,4,2     ## @BNXT_FLAG_RX_PAGE_MODE
	.comm	_DMA_BIDIRECTIONAL,4,2          ## @DMA_BIDIRECTIONAL
	.comm	_bnxt_rx_page_skb,4,2           ## @bnxt_rx_page_skb
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_bnxt_rx_skb,4,2                ## @bnxt_rx_skb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bnxt_set_rx_skb_mode           ; -- Begin function bnxt_set_rx_skb_mode
	.p2align	2
_bnxt_set_rx_skb_mode:                  ; @bnxt_set_rx_skb_mode
	.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
	cbz	w1, LBB0_3
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _BNXT_MAX_PAGE_MODE_MTU@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BNXT_MAX_PAGE_MODE_MTU@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x9]
	cmp	x8, x2
	b.le	LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_3:
	mov	w0, #0
	ldr	w8, [x19, #12]
	ldr	x9, [x19, #16]
	str	w8, [x9, #8]
Lloh6:
	adrp	x8, _BNXT_FLAG_RX_PAGE_MODE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BNXT_FLAG_RX_PAGE_MODE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
Lloh9:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _bnxt_rx_skb@GOTPAGE
Lloh13:
	ldr	x9, [x9, _bnxt_rx_skb@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #4]
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x8, _u16@GOTPAGE
Lloh16:
	ldr	x8, [x8, _u16@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldr	w1, [x19, #12]
	bl	_min_t
	ldr	x8, [x19, #16]
	str	w0, [x8, #8]
Lloh18:
	adrp	x9, _BNXT_FLAG_AGG_RINGS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _BNXT_FLAG_AGG_RINGS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	ldr	w10, [x19]
	bic	w9, w10, w9
	str	w9, [x19]
Lloh21:
	adrp	x10, _BNXT_FLAG_NO_AGG_RINGS@GOTPAGE
Lloh22:
	ldr	x10, [x10, _BNXT_FLAG_NO_AGG_RINGS@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _BNXT_FLAG_RX_PAGE_MODE@GOTPAGE
Lloh25:
	ldr	x11, [x11, _BNXT_FLAG_RX_PAGE_MODE@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	orr	w9, w10, w9
	orr	w9, w9, w11
	str	w9, [x19]
Lloh27:
	adrp	x9, _DMA_BIDIRECTIONAL@GOTPAGE
Lloh28:
	ldr	x9, [x9, _DMA_BIDIRECTIONAL@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
Lloh30:
	adrp	x10, _bnxt_rx_page_skb@GOTPAGE
Lloh31:
	ldr	x10, [x10, _bnxt_rx_page_skb@GOTPAGEOFF]
Lloh32:
	ldr	w10, [x10]
	stp	w10, w9, [x19, #4]
	mov	x0, x8
	bl	_netdev_update_features
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_BNXT_MAX_PAGE_MODE_MTU,8,3     ; @BNXT_MAX_PAGE_MODE_MTU
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_u16,4,2                        ; @u16
	.comm	_BNXT_FLAG_AGG_RINGS,4,2        ; @BNXT_FLAG_AGG_RINGS
	.comm	_BNXT_FLAG_NO_AGG_RINGS,4,2     ; @BNXT_FLAG_NO_AGG_RINGS
	.comm	_BNXT_FLAG_RX_PAGE_MODE,4,2     ; @BNXT_FLAG_RX_PAGE_MODE
	.comm	_DMA_BIDIRECTIONAL,4,2          ; @DMA_BIDIRECTIONAL
	.comm	_bnxt_rx_page_skb,4,2           ; @bnxt_rx_page_skb
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_bnxt_rx_skb,4,2                ; @bnxt_rx_skb
.subsections_via_symbols
