	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_pause
_set_pause:                             ## @set_pause
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	(%rax), %r14
	movq	$0, -40(%rbp)
	movl	4(%rdi), %edx
	movl	8(%rdi), %edi
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	callq	_dpni_get_link_cfg
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	jmp	LBB0_5
LBB0_2:
	movq	_DPNI_LINK_OPT_PAUSE@GOTPCREL(%rip), %rax
	movl	-40(%rbp), %ecx
	orl	(%rax), %ecx
	movq	_DPNI_LINK_OPT_ASYM_PAUSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	movl	%eax, -40(%rbp)
	movl	4(%rbx), %edx
	movl	8(%rbx), %edi
	xorl	%r15d, %r15d
	leaq	-40(%rbp), %rcx
	xorl	%esi, %esi
	callq	_dpni_set_link_cfg
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r12d
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movl	%r12d, %r15d
	jmp	LBB0_5
LBB0_4:
	movl	-40(%rbp), %eax
	movl	%eax, (%rbx)
LBB0_5:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dpni_get_link_cfg() failed\n"

	.comm	_DPNI_LINK_OPT_PAUSE,4,2        ## @DPNI_LINK_OPT_PAUSE
	.comm	_DPNI_LINK_OPT_ASYM_PAUSE,4,2   ## @DPNI_LINK_OPT_ASYM_PAUSE
L_.str.1:                               ## @.str.1
	.asciz	"dpni_set_link_cfg() failed\n"

	.no_dead_strip	_set_pause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_pause
_set_pause:                             ; @set_pause
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x19, [x8]
	str	xzr, [sp, #8]
	ldr	w0, [x0, #8]
	ldr	w2, [x20, #4]
	add	x3, sp, #8
	mov	w1, #0
	bl	_dpni_get_link_cfg
	cbz	w0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _DPNI_LINK_OPT_PAUSE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DPNI_LINK_OPT_PAUSE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #8]
Lloh5:
	adrp	x10, _DPNI_LINK_OPT_ASYM_PAUSE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _DPNI_LINK_OPT_ASYM_PAUSE@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh7:
	ldr	w9, [x10]
	bic	w8, w8, w9
	str	w8, [sp, #8]
	ldp	w2, w0, [x20, #4]
	add	x3, sp, #8
	mov	w1, #0
	bl	_dpni_set_link_cfg
	mov	x21, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x0, x19
	bl	_dev_err
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	w8, [sp, #8]
	str	w8, [x20]
	b	LBB0_5
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dpni_get_link_cfg() failed\n"

	.comm	_DPNI_LINK_OPT_PAUSE,4,2        ; @DPNI_LINK_OPT_PAUSE
	.comm	_DPNI_LINK_OPT_ASYM_PAUSE,4,2   ; @DPNI_LINK_OPT_ASYM_PAUSE
l_.str.1:                               ; @.str.1
	.asciz	"dpni_set_link_cfg() failed\n"

	.no_dead_strip	_set_pause
.subsections_via_symbols
