	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function stmmac_set_bfsize
_stmmac_set_bfsize:                     ## @stmmac_set_bfsize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_BUF_SIZE_4KiB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jle	LBB0_1
## %bb.2:
	movq	_BUF_SIZE_2KiB@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%edi, %ecx
	jle	LBB0_4
## %bb.3:
	movq	_DEFAULT_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	cmovgel	%eax, %ecx
	movl	%ecx, %eax
LBB0_4:
	popq	%rbp
	retq
LBB0_1:
	movq	_BUF_SIZE_8KiB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BUF_SIZE_4KiB,4,2              ## @BUF_SIZE_4KiB
	.comm	_BUF_SIZE_8KiB,4,2              ## @BUF_SIZE_8KiB
	.comm	_BUF_SIZE_2KiB,4,2              ## @BUF_SIZE_2KiB
	.comm	_DEFAULT_BUFSIZE,4,2            ## @DEFAULT_BUFSIZE
	.no_dead_strip	_stmmac_set_bfsize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function stmmac_set_bfsize
_stmmac_set_bfsize:                     ; @stmmac_set_bfsize
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _BUF_SIZE_4KiB@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BUF_SIZE_4KiB@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cmp	w0, w8
	b.le	LBB0_4
; %bb.1:
Lloh3:
	adrp	x9, _BUF_SIZE_2KiB@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BUF_SIZE_2KiB@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w9, w8
	b.le	LBB0_3
; %bb.2:
Lloh6:
	adrp	x10, _DEFAULT_BUFSIZE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DEFAULT_BUFSIZE@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	w10, w8
	csel	w0, w9, w10, lt
LBB0_3:
	ret
LBB0_4:
Lloh9:
	adrp	x8, _BUF_SIZE_8KiB@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BUF_SIZE_8KiB@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BUF_SIZE_4KiB,4,2              ; @BUF_SIZE_4KiB
	.comm	_BUF_SIZE_8KiB,4,2              ; @BUF_SIZE_8KiB
	.comm	_BUF_SIZE_2KiB,4,2              ; @BUF_SIZE_2KiB
	.comm	_DEFAULT_BUFSIZE,4,2            ; @DEFAULT_BUFSIZE
	.no_dead_strip	_stmmac_set_bfsize
.subsections_via_symbols
