	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_set_slip                    ## -- Begin function os_set_slip
	.p2align	4, 0x90
_os_set_slip:                           ## @os_set_slip
	.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
	movl	%edi, %ebx
	movq	_N_SLIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -16(%rbp)
	movq	_TIOCSETD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-16(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	movl	$0, -12(%rbp)
	movq	_SIOCSIFENCAP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-12(%rbp), %rdx
	movl	%ebx, %edi
	callq	_ioctl
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jns	LBB0_3
LBB0_2:
	movq	_errno@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_N_SLIP,4,2                     ## @N_SLIP
	.comm	_TIOCSETD,4,2                   ## @TIOCSETD
	.comm	_errno,4,2                      ## @errno
	.comm	_SIOCSIFENCAP,4,2               ## @SIOCSIFENCAP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_os_set_slip                    ; -- Begin function os_set_slip
	.p2align	2
_os_set_slip:                           ; @os_set_slip
	.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
Lloh0:
	adrp	x8, _N_SLIP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _N_SLIP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #12]
Lloh3:
	adrp	x8, _TIOCSETD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TIOCSETD@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
	str	wzr, [sp, #8]
Lloh6:
	adrp	x8, _SIOCSIFENCAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIOCSIFENCAP@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	x2, sp, #8
	mov	x0, x19
	bl	_ioctl
	mov	x8, x0
	mov	w0, #0
	tbz	x8, #63, LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_N_SLIP,4,2                     ; @N_SLIP
	.comm	_TIOCSETD,4,2                   ; @TIOCSETD
	.comm	_errno,4,2                      ; @errno
	.comm	_SIOCSIFENCAP,4,2               ; @SIOCSIFENCAP
.subsections_via_symbols
