	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function adjust_link_dtsec
_adjust_link_dtsec:                     ## @adjust_link_dtsec
	.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	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	8(%rdi), %rdi
	cmpl	$0, 4(%rax)
	je	LBB0_4
## %bb.1:
	movl	(%rax), %esi
	callq	_dtsec_adjust_link
	leaq	-16(%rbp), %rsi
	leaq	-12(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_fman_get_pause_cfg
	movl	-16(%rbp), %esi
	movl	-12(%rbp), %edx
	movq	%rbx, %rdi
	callq	_fman_set_mac_active_pause
	testl	%eax, %eax
	jns	LBB0_3
## %bb.2:
	movq	(%rbx), %rcx
	movl	(%rcx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_dtsec_restart_autoneg          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fman_set_mac_active_pause() = %d\n"

	.no_dead_strip	_adjust_link_dtsec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function adjust_link_dtsec
_adjust_link_dtsec:                     ; @adjust_link_dtsec
	.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	x19, x0
	ldp	x0, x8, [x0, #8]
	ldr	w9, [x8, #4]
	cbz	w9, LBB0_4
; %bb.1:
	ldr	w1, [x8]
	bl	_dtsec_adjust_link
	add	x1, sp, #12
	add	x2, sp, #8
	mov	x0, x19
	bl	_fman_get_pause_cfg
	ldp	w2, w1, [sp, #8]
	mov	x0, x19
	bl	_fman_set_mac_active_pause
	tbz	w0, #31, LBB0_3
; %bb.2:
	mov	x2, x0
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_dtsec_restart_autoneg
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fman_set_mac_active_pause() = %d\n"

	.no_dead_strip	_adjust_link_dtsec
.subsections_via_symbols
