	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipwireless_tty_notify_control_line_change ## -- Begin function ipwireless_tty_notify_control_line_change
	.p2align	4, 0x90
_ipwireless_tty_notify_control_line_change: ## @ipwireless_tty_notify_control_line_change
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %esi
	xorl	%esi, %edx
	andl	%ecx, %edx
	xorl	%esi, %edx
	movl	%edx, (%rdi)
	movq	_IPW_CONTROL_LINE_DCD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %eax
	je	LBB0_3
## %bb.1:
	andl	%eax, %edx
	jne	LBB0_3
## %bb.2:
	movq	8(%rdi), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.4:
	popq	%rbp
	jmp	_tty_hangup                     ## TAILCALL
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPW_CONTROL_LINE_DCD,4,2       ## @IPW_CONTROL_LINE_DCD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipwireless_tty_notify_control_line_change ; -- Begin function ipwireless_tty_notify_control_line_change
	.p2align	2
_ipwireless_tty_notify_control_line_change: ; @ipwireless_tty_notify_control_line_change
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	bic	w9, w8, w3
	and	w10, w3, w2
	orr	w9, w9, w10
Lloh0:
	adrp	x10, _IPW_CONTROL_LINE_DCD@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPW_CONTROL_LINE_DCD@GOTPAGEOFF]
	str	w9, [x0]
Lloh2:
	ldr	w10, [x10]
	and	w8, w10, w8
	and	w9, w9, w10
	cmp	w8, #0
	ccmp	w9, #0, #0, ne
	b.ne	LBB0_3
; %bb.1:
	ldr	x0, [x0, #8]
	cbz	x0, LBB0_3
; %bb.2:
	b	_tty_hangup
LBB0_3:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IPW_CONTROL_LINE_DCD,4,2       ; @IPW_CONTROL_LINE_DCD
.subsections_via_symbols
