	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xgbe_set_coalesce
_xgbe_set_coalesce:                     ## @xgbe_set_coalesce
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	cmpq	$0, 160(%rbx)
	jne	LBB0_19
## %bb.1:
	cmpq	$0, 152(%rbx)
	jne	LBB0_19
## %bb.2:
	cmpq	$0, 144(%rbx)
	jne	LBB0_19
## %bb.3:
	cmpq	$0, 136(%rbx)
	jne	LBB0_19
## %bb.4:
	cmpq	$0, 128(%rbx)
	jne	LBB0_19
## %bb.5:
	cmpq	$0, 120(%rbx)
	jne	LBB0_19
## %bb.6:
	cmpq	$0, 112(%rbx)
	jne	LBB0_19
## %bb.7:
	cmpq	$0, 104(%rbx)
	jne	LBB0_19
## %bb.8:
	cmpq	$0, 96(%rbx)
	jne	LBB0_19
## %bb.9:
	cmpq	$0, 88(%rbx)
	jne	LBB0_19
## %bb.10:
	cmpq	$0, 80(%rbx)
	jne	LBB0_19
## %bb.11:
	cmpq	$0, 72(%rbx)
	jne	LBB0_19
## %bb.12:
	cmpq	$0, 64(%rbx)
	jne	LBB0_19
## %bb.13:
	cmpq	$0, 56(%rbx)
	jne	LBB0_19
## %bb.14:
	cmpq	$0, 48(%rbx)
	jne	LBB0_19
## %bb.15:
	cmpq	$0, 40(%rbx)
	jne	LBB0_19
## %bb.16:
	cmpq	$0, 32(%rbx)
	jne	LBB0_19
## %bb.17:
	cmpq	$0, 24(%rbx)
	jne	LBB0_19
## %bb.18:
	cmpq	$0, 16(%rbx)
	je	LBB0_22
LBB0_19:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
LBB0_20:
	subl	(%rax), %ebx
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	%rax, %rdi
	callq	*24(%rax)
	testl	%eax, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	movl	(%rbx), %edi
	testl	%edi, %edi
	cmovel	%eax, %ecx
	movq	_XGMAC_MAX_DMA_RIWT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	cmpl	%esi, %ecx
	jbe	LBB0_24
## %bb.23:
	movq	%r14, %rdi
	callq	*32(%r14)
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r15, %rdi
	movl	%eax, %edx
	jmp	LBB0_29
LBB0_24:
	movl	4(%rbx), %eax
	movl	(%r14), %edx
	cmpl	%edx, %eax
	jbe	LBB0_26
## %bb.25:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_28
LBB0_26:
	movl	8(%rbx), %ebx
	movl	4(%r14), %edx
	cmpl	%edx, %ebx
	jbe	LBB0_30
## %bb.27:
	leaq	L_.str.3(%rip), %rsi
LBB0_28:
	xorl	%ebx, %ebx
	movq	%r15, %rdi
LBB0_29:
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_20
LBB0_30:
	movl	%ecx, 8(%r14)
	movl	%edi, 12(%r14)
	movl	%eax, 16(%r14)
	movq	%r14, %rdi
	callq	*48(%r14)
	movl	%ebx, 20(%r14)
	movq	%r14, %rdi
	callq	*40(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unsupported coalescing parameter\n"

	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_XGMAC_MAX_DMA_RIWT,4,2         ## @XGMAC_MAX_DMA_RIWT
L_.str.1:                               ## @.str.1
	.asciz	"rx-usec is limited to %d usecs\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"rx-frames is limited to %d frames\n"

L_.str.3:                               ## @.str.3
	.asciz	"tx-frames is limited to %d frames\n"

	.no_dead_strip	_xgbe_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xgbe_set_coalesce
_xgbe_set_coalesce:                     ; @xgbe_set_coalesce
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_netdev_priv
	ldr	x8, [x20, #160]
	cbnz	x8, LBB0_19
; %bb.1:
	ldr	x8, [x20, #152]
	cbnz	x8, LBB0_19
; %bb.2:
	ldr	x8, [x20, #144]
	cbnz	x8, LBB0_19
; %bb.3:
	ldr	x8, [x20, #136]
	cbnz	x8, LBB0_19
; %bb.4:
	ldr	x8, [x20, #128]
	cbnz	x8, LBB0_19
; %bb.5:
	ldr	x8, [x20, #120]
	cbnz	x8, LBB0_19
; %bb.6:
	ldr	x8, [x20, #112]
	cbnz	x8, LBB0_19
; %bb.7:
	ldr	x8, [x20, #104]
	cbnz	x8, LBB0_19
; %bb.8:
	ldr	x8, [x20, #96]
	cbnz	x8, LBB0_19
; %bb.9:
	ldr	x8, [x20, #88]
	cbnz	x8, LBB0_19
; %bb.10:
	ldr	x8, [x20, #80]
	cbnz	x8, LBB0_19
; %bb.11:
	ldr	x8, [x20, #72]
	cbnz	x8, LBB0_19
; %bb.12:
	ldr	x8, [x20, #64]
	cbnz	x8, LBB0_19
; %bb.13:
	ldr	x8, [x20, #56]
	cbnz	x8, LBB0_19
; %bb.14:
	ldr	x8, [x20, #48]
	cbnz	x8, LBB0_19
; %bb.15:
	ldr	x8, [x20, #40]
	cbnz	x8, LBB0_19
; %bb.16:
	ldr	x8, [x20, #32]
	cbnz	x8, LBB0_19
; %bb.17:
	ldr	x8, [x20, #24]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_22
LBB0_19:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh2:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_21:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_22:
	ldr	x8, [x0, #24]
	ldr	w1, [x20]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	blr	x8
	ldr	w8, [x20]
	cmp	w0, #0
	ccmp	w8, #0, #4, eq
	csinc	w9, w0, wzr, eq
Lloh4:
	adrp	x10, _XGMAC_MAX_DMA_RIWT@GOTPAGE
Lloh5:
	ldr	x10, [x10, _XGMAC_MAX_DMA_RIWT@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x10]
	cmp	w9, w1
	b.ls	LBB0_24
; %bb.23:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	ldr	x8, [x0, #32]
	blr	x8
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_28
LBB0_24:
	ldr	w10, [x20, #4]
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w11, [x11]
	cmp	w10, w11
	b.ls	LBB0_26
; %bb.25:
	str	x11, [sp]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_28
LBB0_26:
	ldr	w20, [x20, #8]
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	ldr	w11, [x11, #4]
	cmp	w20, w11
	b.ls	LBB0_29
; %bb.27:
	str	x11, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_28:
	mov	x0, x19
	bl	_netdev_err
Lloh13:
	adrp	x8, _EINVAL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_20
LBB0_29:
	ldr	x19, [sp, #8]                   ; 8-byte Folded Reload
	stp	w9, w8, [x19, #8]
	str	w10, [x19, #16]
	ldr	x8, [x19, #48]
	mov	x0, x19
	blr	x8
	str	w20, [x19, #20]
	ldr	x8, [x19, #40]
	mov	x0, x19
	blr	x8
	mov	w0, #0
	b	LBB0_21
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unsupported coalescing parameter\n"

	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_XGMAC_MAX_DMA_RIWT,4,2         ; @XGMAC_MAX_DMA_RIWT
l_.str.1:                               ; @.str.1
	.asciz	"rx-usec is limited to %d usecs\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"rx-frames is limited to %d frames\n"

l_.str.3:                               ; @.str.3
	.asciz	"tx-frames is limited to %d frames\n"

	.no_dead_strip	_xgbe_set_coalesce
.subsections_via_symbols
