	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_dc_by_tty
_get_dc_by_tty:                         ## @get_dc_by_tty
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ndevs@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	(%rdi), %rax
	movq	_MAX_PORT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_5
LBB0_1:
	xorl	%eax, %eax
	retq
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $eax killed $eax def $rax
LBB0_5:
	movq	(%rcx,%rax,8), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ndevs,8,3                      ## @ndevs
	.comm	_MAX_PORT,8,3                   ## @MAX_PORT
	.no_dead_strip	_get_dc_by_tty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_dc_by_tty
_get_dc_by_tty:                         ; @get_dc_by_tty
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ndevs@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ndevs@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
Lloh3:
	adrp	x10, _MAX_PORT@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MAX_PORT@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	udiv	x9, x9, x10
	ldr	x0, [x8, x9, lsl #3]
LBB0_2:
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ndevs,8,3                      ; @ndevs
	.comm	_MAX_PORT,8,3                   ; @MAX_PORT
	.no_dead_strip	_get_dc_by_tty
.subsections_via_symbols
