	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isdn_tty_modem_reset_regs
_isdn_tty_modem_reset_regs:             ## @isdn_tty_modem_reset_regs
	.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
	movq	%rdi, %rbx
	movq	8(%rdi), %rdi
	movq	_REG_DTRR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_BIT_DTRR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	(%rdi,%rax,4), %ecx
	orl	%esi, %ecx
	je	LBB0_2
## %bb.1:
	movl	48(%rbx), %esi
	movq	_ISDN_MODEM_NUMREG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	16(%rbx), %rdi
	movl	44(%rbx), %esi
	movq	_ISDN_MSNLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	24(%rbx), %rdi
	movl	40(%rbx), %esi
	movq	_ISDN_LMSNLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_memcpy
	movq	8(%rbx), %rax
	movq	_REG_PSIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %eax
	shll	$4, %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	$0, 32(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DTRR,8,3                   ## @REG_DTRR
	.comm	_BIT_DTRR,4,2                   ## @BIT_DTRR
	.comm	_ISDN_MODEM_NUMREG,4,2          ## @ISDN_MODEM_NUMREG
	.comm	_ISDN_MSNLEN,4,2                ## @ISDN_MSNLEN
	.comm	_ISDN_LMSNLEN,4,2               ## @ISDN_LMSNLEN
	.comm	_REG_PSIZE,8,3                  ## @REG_PSIZE
	.no_dead_strip	_isdn_tty_modem_reset_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isdn_tty_modem_reset_regs
_isdn_tty_modem_reset_regs:             ; @isdn_tty_modem_reset_regs
	.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
	mov	x19, x0
	ldr	x0, [x0, #8]
Lloh0:
	adrp	x8, _REG_DTRR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_DTRR@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w8, [x0, x8, lsl #2]
Lloh3:
	adrp	x9, _BIT_DTRR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _BIT_DTRR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	orr	w8, w8, w1
	cbz	w8, LBB0_2
; %bb.1:
	ldr	w1, [x19, #48]
Lloh6:
	adrp	x8, _ISDN_MODEM_NUMREG@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISDN_MODEM_NUMREG@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x0, [x19, #16]
	ldr	w1, [x19, #44]
Lloh9:
	adrp	x8, _ISDN_MSNLEN@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISDN_MSNLEN@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	bl	_memcpy
	ldr	x0, [x19, #24]
	ldr	w1, [x19, #40]
Lloh12:
	adrp	x8, _ISDN_LMSNLEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ISDN_LMSNLEN@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_memcpy
Lloh15:
	adrp	x8, _REG_PSIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _REG_PSIZE@GOTPAGEOFF]
	ldr	x9, [x19, #8]
Lloh17:
	ldr	x8, [x8]
	ldr	w8, [x9, x8, lsl #2]
	lsl	w8, w8, #4
	str	w8, [x19]
LBB0_2:
	str	xzr, [x19, #32]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DTRR,8,3                   ; @REG_DTRR
	.comm	_BIT_DTRR,4,2                   ; @BIT_DTRR
	.comm	_ISDN_MODEM_NUMREG,4,2          ; @ISDN_MODEM_NUMREG
	.comm	_ISDN_MSNLEN,4,2                ; @ISDN_MSNLEN
	.comm	_ISDN_LMSNLEN,4,2               ; @ISDN_LMSNLEN
	.comm	_REG_PSIZE,8,3                  ; @REG_PSIZE
	.no_dead_strip	_isdn_tty_modem_reset_regs
.subsections_via_symbols
