	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function link_op
_link_op:                               ## @link_op
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, %rdx
	movq	_dev@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_VISIOCTLLINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_2
## %bb.1:
	popq	%rbp
	retq
LBB0_2:
	leaq	L_str(%rip), %rdi
	popq	%rbp
	jmp	_puts                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_dev,4,2                        ## @dev
	.comm	_VISIOCTLLINK,4,2               ## @VISIOCTLLINK
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"error making a link operation"

	.no_dead_strip	_link_op
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function link_op
_link_op:                               ; @link_op
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x2, x0
Lloh0:
	adrp	x8, _dev@GOTPAGE
Lloh1:
	ldr	x8, [x8, _dev@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _VISIOCTLLINK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VISIOCTLLINK@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_ioctl
	tbnz	x0, #63, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh6:
	adrp	x0, l_str@PAGE
Lloh7:
	add	x0, x0, l_str@PAGEOFF
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_puts
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_dev,4,2                        ; @dev
	.comm	_VISIOCTLLINK,4,2               ; @VISIOCTLLINK
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"error making a link operation"

	.no_dead_strip	_link_op
.subsections_via_symbols
