	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ip2_tiocmget
_ip2_tiocmget:                          ## @ip2_tiocmget
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_DevTable@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi), %rcx
	movq	(%rax,%rcx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	_I2_RTS@GOTPCREL(%rip), %rdx
	movl	(%rcx), %eax
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_4
## %bb.3:
	movq	_TIOCM_RTS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_4:
	movl	4(%rcx), %ecx
	movq	_I2_DTR@GOTPCREL(%rip), %rsi
	andl	(%rsi), %eax
	je	LBB0_6
## %bb.5:
	movq	_TIOCM_DTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movq	_I2_DCD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%ecx, %esi
	je	LBB0_8
## %bb.7:
	movq	_TIOCM_CAR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_8:
	movq	_I2_RI@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	andl	%ecx, %edi
	je	LBB0_10
## %bb.9:
	movq	_TIOCM_RNG@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
LBB0_10:
	orl	%edi, %esi
	orl	%edx, %eax
	movq	_I2_DSR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ecx, %edx
	je	LBB0_12
## %bb.11:
	movq	_TIOCM_DSR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_12:
	orl	%esi, %eax
	movq	_I2_CTS@GOTPCREL(%rip), %rsi
	andl	(%rsi), %ecx
	je	LBB0_14
## %bb.13:
	movq	_TIOCM_CTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_14:
	orl	%ecx, %edx
	orl	%edx, %eax
	popq	%rbp
	retq
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DevTable,8,3                   ## @DevTable
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_I2_RTS,4,2                     ## @I2_RTS
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_I2_DTR,4,2                     ## @I2_DTR
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.comm	_I2_DCD,4,2                     ## @I2_DCD
	.comm	_TIOCM_CAR,4,2                  ## @TIOCM_CAR
	.comm	_I2_RI,4,2                      ## @I2_RI
	.comm	_TIOCM_RNG,4,2                  ## @TIOCM_RNG
	.comm	_I2_DSR,4,2                     ## @I2_DSR
	.comm	_TIOCM_DSR,4,2                  ## @TIOCM_DSR
	.comm	_I2_CTS,4,2                     ## @I2_CTS
	.comm	_TIOCM_CTS,4,2                  ## @TIOCM_CTS
	.comm	_CMD_DSS_NOW,4,2                ## @CMD_DSS_NOW
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_PTYPE_BYPASS,4,2               ## @PTYPE_BYPASS
	.comm	_TASK_INTERRUPTIBLE,4,2         ## @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ## @TASK_RUNNING
	.comm	_current,4,2                    ## @current
	.no_dead_strip	_ip2_tiocmget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ip2_tiocmget
_ip2_tiocmget:                          ; @ip2_tiocmget
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _DevTable@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DevTable@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x0]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh3:
	adrp	x9, _I2_RTS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _I2_RTS@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _TIOCM_RTS@GOTPAGE
Lloh7:
	ldr	x10, [x10, _TIOCM_RTS@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	ldp	w11, w8, [x8]
	tst	w9, w11
	csel	w9, wzr, w10, eq
Lloh9:
	adrp	x10, _I2_DTR@GOTPAGE
Lloh10:
	ldr	x10, [x10, _I2_DTR@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x12, _TIOCM_DTR@GOTPAGE
Lloh13:
	ldr	x12, [x12, _TIOCM_DTR@GOTPAGEOFF]
Lloh14:
	ldr	w12, [x12]
	tst	w10, w11
	csel	w10, wzr, w12, eq
	orr	w9, w10, w9
Lloh15:
	adrp	x10, _I2_DCD@GOTPAGE
Lloh16:
	ldr	x10, [x10, _I2_DCD@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
Lloh18:
	adrp	x11, _TIOCM_CAR@GOTPAGE
Lloh19:
	ldr	x11, [x11, _TIOCM_CAR@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh21:
	adrp	x10, _I2_RI@GOTPAGE
Lloh22:
	ldr	x10, [x10, _I2_RI@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
Lloh24:
	adrp	x11, _TIOCM_RNG@GOTPAGE
Lloh25:
	ldr	x11, [x11, _TIOCM_RNG@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh27:
	adrp	x10, _I2_DSR@GOTPAGE
Lloh28:
	ldr	x10, [x10, _I2_DSR@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
Lloh30:
	adrp	x11, _TIOCM_DSR@GOTPAGE
Lloh31:
	ldr	x11, [x11, _TIOCM_DSR@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w10, wzr, w11, eq
	orr	w9, w9, w10
Lloh33:
	adrp	x10, _I2_CTS@GOTPAGE
Lloh34:
	ldr	x10, [x10, _I2_CTS@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
Lloh36:
	adrp	x11, _TIOCM_CTS@GOTPAGE
Lloh37:
	ldr	x11, [x11, _TIOCM_CTS@GOTPAGEOFF]
Lloh38:
	ldr	w11, [x11]
	tst	w10, w8
	csel	w8, wzr, w11, eq
	orr	w0, w9, w8
	ret
LBB0_2:
Lloh39:
	adrp	x8, _ENODEV@GOTPAGE
Lloh40:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_DevTable,8,3                   ; @DevTable
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_I2_RTS,4,2                     ; @I2_RTS
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.comm	_I2_DTR,4,2                     ; @I2_DTR
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.comm	_I2_DCD,4,2                     ; @I2_DCD
	.comm	_TIOCM_CAR,4,2                  ; @TIOCM_CAR
	.comm	_I2_RI,4,2                      ; @I2_RI
	.comm	_TIOCM_RNG,4,2                  ; @TIOCM_RNG
	.comm	_I2_DSR,4,2                     ; @I2_DSR
	.comm	_TIOCM_DSR,4,2                  ; @TIOCM_DSR
	.comm	_I2_CTS,4,2                     ; @I2_CTS
	.comm	_TIOCM_CTS,4,2                  ; @TIOCM_CTS
	.comm	_CMD_DSS_NOW,4,2                ; @CMD_DSS_NOW
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_PTYPE_BYPASS,4,2               ; @PTYPE_BYPASS
	.comm	_TASK_INTERRUPTIBLE,4,2         ; @TASK_INTERRUPTIBLE
	.comm	_TASK_RUNNING,4,2               ; @TASK_RUNNING
	.comm	_current,4,2                    ; @current
	.no_dead_strip	_ip2_tiocmget
.subsections_via_symbols
