	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_link_set_advertising       ## -- Begin function ef4_link_set_advertising
	.p2align	4, 0x90
_ef4_link_set_advertising:              ## @ef4_link_set_advertising
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, (%rdi)
	testl	%esi, %esi
	je	LBB0_6
## %bb.1:
	movq	_ADVERTISED_Pause@GOTPCREL(%rip), %rdx
	movq	_EF4_FC_TX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EF4_FC_RX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, %ecx
	testl	%esi, (%rdx)
	je	LBB0_3
## %bb.2:
	orl	4(%rdi), %ecx
	jmp	LBB0_4
LBB0_3:
	notl	%ecx
	andl	4(%rdi), %ecx
LBB0_4:
	movl	%ecx, 4(%rdi)
	movq	_ADVERTISED_Asym_Pause@GOTPCREL(%rip), %rdx
	testl	%esi, (%rdx)
	je	LBB0_6
## %bb.5:
	xorl	%eax, %ecx
	movl	%ecx, 4(%rdi)
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ADVERTISED_Pause,4,2           ## @ADVERTISED_Pause
	.comm	_EF4_FC_TX,4,2                  ## @EF4_FC_TX
	.comm	_EF4_FC_RX,4,2                  ## @EF4_FC_RX
	.comm	_ADVERTISED_Asym_Pause,4,2      ## @ADVERTISED_Asym_Pause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ef4_link_set_advertising       ; -- Begin function ef4_link_set_advertising
	.p2align	2
_ef4_link_set_advertising:              ; @ef4_link_set_advertising
	.cfi_startproc
; %bb.0:
	str	w1, [x0]
	cbz	w1, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _ADVERTISED_Pause@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ADVERTISED_Pause@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _EF4_FC_TX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EF4_FC_TX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _EF4_FC_RX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EF4_FC_RX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w9, w9, w8
	tst	w10, w1
	b.eq	LBB0_3
; %bb.2:
	ldr	w10, [x0, #4]
	orr	w9, w9, w10
	b	LBB0_4
LBB0_3:
	ldr	w10, [x0, #4]
	bic	w9, w10, w9
LBB0_4:
	str	w9, [x0, #4]
Lloh9:
	adrp	x10, _ADVERTISED_Asym_Pause@GOTPAGE
Lloh10:
	ldr	x10, [x10, _ADVERTISED_Asym_Pause@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	tst	w10, w1
	b.eq	LBB0_6
; %bb.5:
	eor	w8, w9, w8
	str	w8, [x0, #4]
LBB0_6:
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ADVERTISED_Pause,4,2           ; @ADVERTISED_Pause
	.comm	_EF4_FC_TX,4,2                  ; @EF4_FC_TX
	.comm	_EF4_FC_RX,4,2                  ; @EF4_FC_RX
	.comm	_ADVERTISED_Asym_Pause,4,2      ; @ADVERTISED_Asym_Pause
.subsections_via_symbols
