	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sis190_set_rxbufsize
_sis190_set_rxbufsize:                  ## @sis190_set_rxbufsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %eax
	movq	_RX_BUF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	movq	_ETH_HLEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	leal	8(%rax,%rdx), %eax
	cmovbel	%ecx, %eax
	movl	%eax, (%rdi)
	testb	$7, %al
	je	LBB0_2
## %bb.1:
	addl	$8, %eax
	movl	%eax, (%rdi)
	movq	_RX_BUF_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%eax, (%rdi)
LBB0_2:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_BUF_SIZE,4,2                ## @RX_BUF_SIZE
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.comm	_RX_BUF_MASK,4,2                ## @RX_BUF_MASK
	.no_dead_strip	_sis190_set_rxbufsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sis190_set_rxbufsize
_sis190_set_rxbufsize:                  ; @sis190_set_rxbufsize
	.cfi_startproc
; %bb.0:
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _RX_BUF_SIZE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RX_BUF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _ETH_HLEN@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ETH_HLEN@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	add	w10, w8, w10
	add	w10, w10, #8
	cmp	w8, w9
	csel	w8, w10, w9, hi
	str	w8, [x0]
	tst	w8, #0x7
	b.eq	LBB0_2
; %bb.1:
	add	w8, w8, #8
	str	w8, [x0]
Lloh6:
	adrp	x9, _RX_BUF_MASK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_BUF_MASK@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w8, w9, w8
	str	w8, [x0]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_BUF_SIZE,4,2                ; @RX_BUF_SIZE
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.comm	_RX_BUF_MASK,4,2                ; @RX_BUF_MASK
	.no_dead_strip	_sis190_set_rxbufsize
.subsections_via_symbols
