	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hip04_set_coalesce
_hip04_set_coalesce:                    ## @hip04_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_netdev_priv
	cmpq	$0, 168(%rbx)
	jne	LBB0_20
## %bb.1:
	cmpq	$0, 160(%rbx)
	jne	LBB0_20
## %bb.2:
	cmpq	$0, 152(%rbx)
	jne	LBB0_20
## %bb.3:
	cmpq	$0, 144(%rbx)
	jne	LBB0_20
## %bb.4:
	cmpq	$0, 136(%rbx)
	jne	LBB0_20
## %bb.5:
	cmpq	$0, 128(%rbx)
	jne	LBB0_20
## %bb.6:
	cmpq	$0, 120(%rbx)
	jne	LBB0_20
## %bb.7:
	cmpq	$0, 112(%rbx)
	jne	LBB0_20
## %bb.8:
	cmpq	$0, 104(%rbx)
	jne	LBB0_20
## %bb.9:
	cmpq	$0, 96(%rbx)
	jne	LBB0_20
## %bb.10:
	cmpq	$0, 88(%rbx)
	jne	LBB0_20
## %bb.11:
	cmpq	$0, 80(%rbx)
	jne	LBB0_20
## %bb.12:
	cmpq	$0, 72(%rbx)
	jne	LBB0_20
## %bb.13:
	cmpq	$0, 64(%rbx)
	jne	LBB0_20
## %bb.14:
	cmpq	$0, 56(%rbx)
	jne	LBB0_20
## %bb.15:
	cmpq	$0, 48(%rbx)
	jne	LBB0_20
## %bb.16:
	cmpq	$0, 40(%rbx)
	jne	LBB0_20
## %bb.17:
	cmpq	$0, 32(%rbx)
	jne	LBB0_20
## %bb.18:
	cmpq	$0, 24(%rbx)
	jne	LBB0_20
## %bb.19:
	cmpq	$0, 16(%rbx)
	je	LBB0_22
LBB0_20:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
LBB0_21:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_28:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_22:
	movq	(%rbx), %rcx
	movq	_HIP04_MAX_TX_COALESCE_USECS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jg	LBB0_26
## %bb.23:
	movq	_HIP04_MIN_TX_COALESCE_USECS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_26
## %bb.24:
	movq	8(%rbx), %rdx
	movq	_HIP04_MAX_TX_COALESCE_FRAMES@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jg	LBB0_26
## %bb.25:
	movq	_HIP04_MIN_TX_COALESCE_FRAMES@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jl	LBB0_26
## %bb.27:
	movq	%rcx, (%rax)
	movq	%rdx, 8(%rax)
	xorl	%eax, %eax
	jmp	LBB0_28
LBB0_26:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_HIP04_MAX_TX_COALESCE_USECS,8,3 ## @HIP04_MAX_TX_COALESCE_USECS
	.comm	_HIP04_MIN_TX_COALESCE_USECS,8,3 ## @HIP04_MIN_TX_COALESCE_USECS
	.comm	_HIP04_MAX_TX_COALESCE_FRAMES,8,3 ## @HIP04_MAX_TX_COALESCE_FRAMES
	.comm	_HIP04_MIN_TX_COALESCE_FRAMES,8,3 ## @HIP04_MIN_TX_COALESCE_FRAMES
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hip04_set_coalesce
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hip04_set_coalesce
_hip04_set_coalesce:                    ; @hip04_set_coalesce
	.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, x1
	bl	_netdev_priv
	ldr	x8, [x19, #168]
	cbnz	x8, LBB0_20
; %bb.1:
	ldr	x8, [x19, #160]
	cbnz	x8, LBB0_20
; %bb.2:
	ldr	x8, [x19, #152]
	cbnz	x8, LBB0_20
; %bb.3:
	ldr	x8, [x19, #144]
	cbnz	x8, LBB0_20
; %bb.4:
	ldr	x8, [x19, #136]
	cbnz	x8, LBB0_20
; %bb.5:
	ldr	x8, [x19, #128]
	cbnz	x8, LBB0_20
; %bb.6:
	ldr	x8, [x19, #120]
	cbnz	x8, LBB0_20
; %bb.7:
	ldr	x8, [x19, #112]
	cbnz	x8, LBB0_20
; %bb.8:
	ldr	x8, [x19, #104]
	cbnz	x8, LBB0_20
; %bb.9:
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_20
; %bb.10:
	ldr	x8, [x19, #88]
	cbnz	x8, LBB0_20
; %bb.11:
	ldr	x8, [x19, #80]
	cbnz	x8, LBB0_20
; %bb.12:
	ldr	x8, [x19, #72]
	cbnz	x8, LBB0_20
; %bb.13:
	ldr	x8, [x19, #64]
	cbnz	x8, LBB0_20
; %bb.14:
	ldr	x8, [x19, #56]
	cbnz	x8, LBB0_20
; %bb.15:
	ldr	x8, [x19, #48]
	cbnz	x8, LBB0_20
; %bb.16:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_20
; %bb.17:
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_20
; %bb.18:
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_20
; %bb.19:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_23
LBB0_20:
Lloh0:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w8, w8
LBB0_22:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_23:
	ldr	x9, [x19]
Lloh2:
	adrp	x8, _HIP04_MAX_TX_COALESCE_USECS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HIP04_MAX_TX_COALESCE_USECS@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x9, x8
	b.gt	LBB0_28
; %bb.24:
Lloh5:
	adrp	x8, _HIP04_MIN_TX_COALESCE_USECS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HIP04_MIN_TX_COALESCE_USECS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x9, x8
	b.lt	LBB0_28
; %bb.25:
	ldr	x10, [x19, #8]
Lloh8:
	adrp	x8, _HIP04_MAX_TX_COALESCE_FRAMES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HIP04_MAX_TX_COALESCE_FRAMES@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x10, x8
	b.gt	LBB0_28
; %bb.26:
Lloh11:
	adrp	x8, _HIP04_MIN_TX_COALESCE_FRAMES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _HIP04_MIN_TX_COALESCE_FRAMES@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x10, x8
	b.lt	LBB0_28
; %bb.27:
	mov	w8, #0
	stp	x9, x10, [x0]
	b	LBB0_22
LBB0_28:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_21
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_HIP04_MAX_TX_COALESCE_USECS,8,3 ; @HIP04_MAX_TX_COALESCE_USECS
	.comm	_HIP04_MIN_TX_COALESCE_USECS,8,3 ; @HIP04_MIN_TX_COALESCE_USECS
	.comm	_HIP04_MAX_TX_COALESCE_FRAMES,8,3 ; @HIP04_MAX_TX_COALESCE_FRAMES
	.comm	_HIP04_MIN_TX_COALESCE_FRAMES,8,3 ; @HIP04_MIN_TX_COALESCE_FRAMES
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hip04_set_coalesce
.subsections_via_symbols
