	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function skge_set_pauseparam
_skge_set_pauseparam:                   ## @skge_set_pauseparam
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_netdev_priv
	movq	%rax, %r14
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_skge_get_pauseparam
	movq	(%rbx), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.1:
	cmpq	$0, 16(%rbx)
	movq	8(%rbx), %rax
	je	LBB0_6
## %bb.2:
	testq	%rax, %rax
	jne	LBB0_5
## %bb.9:
	movq	_FLOW_MODE_SYM_OR_REM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_4:
	testq	%rax, %rax
	jne	LBB0_8
LBB0_5:
	movq	_FLOW_MODE_SYMMETRIC@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_6:
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	_FLOW_MODE_LOC_SEND@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_FLOW_MODE_NONE@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rax
	movq	%rax, (%r14)
	movq	%r15, %rdi
	callq	_netif_running
	xorl	%ebx, %ebx
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%r15, %rdi
	callq	_skge_down
	movq	%r15, %rdi
	callq	_skge_up
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	%eax, %r14d
	movq	%r15, %rdi
	callq	_dev_close
	movl	%r14d, %ebx
LBB0_13:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLOW_MODE_NONE,8,3             ## @FLOW_MODE_NONE
	.comm	_FLOW_MODE_SYMMETRIC,8,3        ## @FLOW_MODE_SYMMETRIC
	.comm	_FLOW_MODE_SYM_OR_REM,8,3       ## @FLOW_MODE_SYM_OR_REM
	.comm	_FLOW_MODE_LOC_SEND,8,3         ## @FLOW_MODE_LOC_SEND
	.no_dead_strip	_skge_set_pauseparam
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function skge_set_pauseparam
_skge_set_pauseparam:                   ; @skge_set_pauseparam
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x1
	mov	x19, x0
	bl	_netdev_priv
	mov	x20, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_skge_get_pauseparam
	ldr	x8, [x21]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldp	x8, x9, [x21, #8]
	cbz	x9, LBB0_10
; %bb.2:
	cbz	x8, LBB0_12
; %bb.3:
Lloh0:
	adrp	x8, _FLOW_MODE_SYMMETRIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLOW_MODE_SYMMETRIC@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x9, _FLOW_MODE_NONE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FLOW_MODE_NONE@GOTPAGEOFF]
Lloh4:
	adrp	x10, _FLOW_MODE_SYMMETRIC@GOTPAGE
Lloh5:
	ldr	x10, [x10, _FLOW_MODE_SYMMETRIC@GOTPAGEOFF]
	cmp	x8, #0
	csel	x8, x10, x9, eq
LBB0_5:
	ldr	x8, [x8]
	str	x8, [x20]
	mov	x0, x19
	bl	_netif_running
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x19
	bl	_skge_down
	mov	x0, x19
	bl	_skge_up
	mov	x20, x0
	cbz	w0, LBB0_9
; %bb.7:
	mov	x0, x19
	bl	_dev_close
	b	LBB0_9
LBB0_8:
	mov	w20, #0
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	cbz	x8, LBB0_13
; %bb.11:
Lloh6:
	adrp	x8, _FLOW_MODE_LOC_SEND@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FLOW_MODE_LOC_SEND@GOTPAGEOFF]
	b	LBB0_5
LBB0_12:
Lloh8:
	adrp	x8, _FLOW_MODE_SYM_OR_REM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _FLOW_MODE_SYM_OR_REM@GOTPAGEOFF]
	b	LBB0_5
LBB0_13:
Lloh10:
	adrp	x8, _FLOW_MODE_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FLOW_MODE_NONE@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_FLOW_MODE_NONE,8,3             ; @FLOW_MODE_NONE
	.comm	_FLOW_MODE_SYMMETRIC,8,3        ; @FLOW_MODE_SYMMETRIC
	.comm	_FLOW_MODE_SYM_OR_REM,8,3       ; @FLOW_MODE_SYM_OR_REM
	.comm	_FLOW_MODE_LOC_SEND,8,3         ; @FLOW_MODE_LOC_SEND
	.no_dead_strip	_skge_set_pauseparam
.subsections_via_symbols
