	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cy_tiocmget
_cy_tiocmget:                           ## @cy_tiocmget
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %rax
	movq	_BASE_ADDR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movb	(%rax), %r14b
	callq	_local_irq_save
	movq	_CyCAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	%r14b, (%rbx,%rax)
	movq	_CyMSVR1@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movb	(%rbx,%rax), %r14b
	movq	_CyMSVR2@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	orb	(%rbx,%rax), %r14b
	callq	_local_irq_restore
	movq	_CyRTS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	movl	$0, %edx
	testb	%r14b, (%rax)
	je	LBB0_2
## %bb.1:
	movq	_TIOCM_RTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movq	_CyDTR@GOTPCREL(%rip), %rsi
	movl	$0, %eax
	testb	%r14b, (%rsi)
	je	LBB0_4
## %bb.3:
	movq	_TIOCM_DTR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	movq	_CyDCD@GOTPCREL(%rip), %rdi
	movl	$0, %esi
	testb	%r14b, (%rdi)
	je	LBB0_6
## %bb.5:
	movq	_TIOCM_CAR@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
LBB0_6:
	orl	%edx, %eax
	movq	_CyDSR@GOTPCREL(%rip), %rdi
	movl	$0, %edx
	testb	%r14b, (%rdi)
	je	LBB0_8
## %bb.7:
	movq	_TIOCM_DSR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_8:
	orl	%edx, %esi
	orl	%esi, %eax
	movq	_CyCTS@GOTPCREL(%rip), %rdx
	testb	%r14b, (%rdx)
	je	LBB0_10
## %bb.9:
	movq	_TIOCM_CTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_10:
	orl	%ecx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BASE_ADDR,8,3                  ## @BASE_ADDR
	.comm	_CyCAR,8,3                      ## @CyCAR
	.comm	_CyMSVR1,8,3                    ## @CyMSVR1
	.comm	_CyMSVR2,8,3                    ## @CyMSVR2
	.comm	_CyRTS,1,0                      ## @CyRTS
	.comm	_TIOCM_RTS,4,2                  ## @TIOCM_RTS
	.comm	_CyDTR,1,0                      ## @CyDTR
	.comm	_TIOCM_DTR,4,2                  ## @TIOCM_DTR
	.comm	_CyDCD,1,0                      ## @CyDCD
	.comm	_TIOCM_CAR,4,2                  ## @TIOCM_CAR
	.comm	_CyDSR,1,0                      ## @CyDSR
	.comm	_TIOCM_DSR,4,2                  ## @TIOCM_DSR
	.comm	_CyCTS,1,0                      ## @CyCTS
	.comm	_TIOCM_CTS,4,2                  ## @TIOCM_CTS
	.no_dead_strip	_cy_tiocmget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cy_tiocmget
_cy_tiocmget:                           ; @cy_tiocmget
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _BASE_ADDR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BASE_ADDR@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x9]
	ldr	w20, [x8]
	bl	_local_irq_save
Lloh3:
	adrp	x8, _CyCAR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CyCAR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	strb	w20, [x19, x8]
Lloh6:
	adrp	x8, _CyMSVR1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CyMSVR1@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldrb	w8, [x19, x8]
Lloh9:
	adrp	x9, _CyMSVR2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _CyMSVR2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	ldrb	w9, [x19, x9]
	orr	w8, w9, w8
	and	w19, w8, #0xff
	bl	_local_irq_restore
Lloh12:
	adrp	x8, _CyRTS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _CyRTS@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh14:
	adrp	x9, _TIOCM_RTS@GOTPAGE
Lloh15:
	ldr	x9, [x9, _TIOCM_RTS@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w8, w19
Lloh17:
	adrp	x8, _CyDTR@GOTPAGE
Lloh18:
	ldr	x8, [x8, _CyDTR@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
	ldrb	w8, [x8]
Lloh19:
	adrp	x10, _TIOCM_DTR@GOTPAGE
Lloh20:
	ldr	x10, [x10, _TIOCM_DTR@GOTPAGEOFF]
Lloh21:
	ldr	w10, [x10]
	tst	w8, w19
	csel	w8, wzr, w10, eq
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _CyDCD@GOTPAGE
Lloh23:
	ldr	x9, [x9, _CyDCD@GOTPAGEOFF]
Lloh24:
	adrp	x10, _TIOCM_CAR@GOTPAGE
Lloh25:
	ldr	x10, [x10, _TIOCM_CAR@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh26:
	ldr	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
Lloh27:
	adrp	x10, _CyDSR@GOTPAGE
Lloh28:
	ldr	x10, [x10, _CyDSR@GOTPAGEOFF]
	orr	w8, w8, w9
	ldrb	w9, [x10]
Lloh29:
	adrp	x10, _TIOCM_DSR@GOTPAGE
Lloh30:
	ldr	x10, [x10, _TIOCM_DSR@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh32:
	adrp	x9, _CyCTS@GOTPAGE
Lloh33:
	ldr	x9, [x9, _CyCTS@GOTPAGEOFF]
Lloh34:
	adrp	x10, _TIOCM_CTS@GOTPAGE
Lloh35:
	ldr	x10, [x10, _TIOCM_CTS@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh36:
	ldr	w10, [x10]
	tst	w9, w19
	csel	w9, wzr, w10, eq
	orr	w0, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BASE_ADDR,8,3                  ; @BASE_ADDR
	.comm	_CyCAR,8,3                      ; @CyCAR
	.comm	_CyMSVR1,8,3                    ; @CyMSVR1
	.comm	_CyMSVR2,8,3                    ; @CyMSVR2
	.comm	_CyRTS,1,0                      ; @CyRTS
	.comm	_TIOCM_RTS,4,2                  ; @TIOCM_RTS
	.comm	_CyDTR,1,0                      ; @CyDTR
	.comm	_TIOCM_DTR,4,2                  ; @TIOCM_DTR
	.comm	_CyDCD,1,0                      ; @CyDCD
	.comm	_TIOCM_CAR,4,2                  ; @TIOCM_CAR
	.comm	_CyDSR,1,0                      ; @CyDSR
	.comm	_TIOCM_DSR,4,2                  ; @TIOCM_DSR
	.comm	_CyCTS,1,0                      ; @CyCTS
	.comm	_TIOCM_CTS,4,2                  ; @TIOCM_CTS
	.no_dead_strip	_cy_tiocmget
.subsections_via_symbols
