	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hscx_mode
_hscx_mode:                             ## @hscx_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	movq	16(%rdi), %rax
	movl	4(%rax), %esi
	movsbl	4(%rdi), %r9d
	leal	64(%r9), %eax
	movl	8(%rdi), %ecx
	movsbl	%al, %edx
	leaq	L_.str(%rip), %rdi
	movl	%r14d, %r8d
                                        ## kill: def $r9d killed $r9d killed $r9
	callq	_pr_debug
	movq	16(%r12), %rdi
	movl	(%rdi), %eax
	movq	_IPAC_TYPE_IPACX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_7
## %bb.1:
	movzbl	4(%r12), %eax
	andl	$1, %eax
	movl	%eax, %edx
	xorl	$129, %edx
	testl	%eax, %eax
	movq	_ISACX_BCHA_TSDP_BC1@GOTPCREL(%rip), %rax
	cmoveq	_ISACX_BCHB_TSDP_BC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISACX_BCHA_CR@GOTPCREL(%rip), %rbx
	cmoveq	_ISACX_BCHB_CR@GOTPCREL(%rip), %rbx
	callq	_WriteIPAC
	movq	16(%r12), %rdi
	movl	(%rbx), %esi
	movl	$136, %edx
	callq	_WriteIPAC
	cmpl	$130, %r14d
	je	LBB0_6
## %bb.2:
	cmpl	$129, %r14d
	je	LBB0_5
## %bb.3:
	cmpl	$128, %r14d
	jne	LBB0_29
## %bb.4:
	movq	_IPACX_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$192, %edx
	callq	_WriteHSCX
	movq	_IPACX_EXMB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$48, %edx
	callq	_WriteHSCX
	movq	_IPACX_MASKB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_WriteHSCX
	movq	%r12, %rdi
	movl	$65, %esi
	callq	_hscx_cmdr
	jmp	LBB0_13
LBB0_7:
	movq	_IPAC_TYPE_IPAC@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.8:
	movq	_IPAC_CCR1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$130, %edx
	callq	_WriteHSCX
	movq	_IPAC_CCR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$48, %edx
	callq	_WriteHSCX
	movq	_IPAC_XCCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$7, %edx
	callq	_WriteHSCX
	movq	_IPAC_RCCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$7, %edx
	callq	_WriteHSCX
	movq	_IPAC_TSAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	%r12, %rdi
	callq	_WriteHSCX
	movq	_IPAC_TSAR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r12, %rdi
	callq	_WriteHSCX
	cmpl	$130, %r14d
	je	LBB0_19
## %bb.9:
	cmpl	$129, %r14d
	je	LBB0_15
## %bb.10:
	cmpl	$128, %r14d
	jne	LBB0_29
## %bb.11:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$31, %edx
	callq	_WriteHSCX
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	$31, %edx
	callq	_WriteHSCX
	movq	_IPAC_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$132, %edx
	callq	_WriteHSCX
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$130, %edx
	jmp	LBB0_12
LBB0_6:
	movq	_IPACX_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$192, %edx
	callq	_WriteHSCX
	movq	_IPACX_EXMB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_WriteHSCX
	movq	%r12, %rdi
	movl	$65, %esi
	callq	_hscx_cmdr
	movq	_IPACX_MASKB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPACX_B_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	jmp	LBB0_21
LBB0_5:
	movq	_IPACX_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$136, %edx
	callq	_WriteHSCX
	movq	_IPACX_EXMB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_WriteHSCX
	movq	%r12, %rdi
	movl	$65, %esi
	callq	_hscx_cmdr
	movq	_IPACX_MASKB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IPACX_B_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	jmp	LBB0_17
LBB0_22:
	movq	_IPAC_TYPE_HSCX@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.23:
	movq	_IPAC_CCR1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$133, %edx
	callq	_WriteHSCX
	movq	_IPAC_CCR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$48, %edx
	callq	_WriteHSCX
	movq	_IPAC_XCCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$7, %edx
	callq	_WriteHSCX
	movq	_IPAC_RCCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$7, %edx
	callq	_WriteHSCX
	movq	_IPAC_TSAX@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	(%r12), %edx
	movq	%r12, %rdi
	callq	_WriteHSCX
	movq	_IPAC_TSAR@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movl	(%r12), %edx
	movq	%r12, %rdi
	callq	_WriteHSCX
	cmpl	$130, %r14d
	je	LBB0_28
## %bb.24:
	cmpl	$129, %r14d
	je	LBB0_27
## %bb.25:
	cmpl	$128, %r14d
	jne	LBB0_29
## %bb.26:
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$31, %edx
	callq	_WriteHSCX
	movl	(%r13), %esi
	movq	%r12, %rdi
	movl	$31, %edx
	callq	_WriteHSCX
	movq	_IPAC_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$132, %edx
	callq	_WriteHSCX
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$133, %edx
LBB0_12:
	callq	_WriteHSCX
	movq	_IPAC_MASKB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$255, %edx
	callq	_WriteHSCX
LBB0_13:
	movq	_FLG_HDLC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r12), %r15
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	movq	_FLG_TRANSPARENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_and_clear_bit
	jmp	LBB0_14
LBB0_29:
	movq	16(%r12), %rax
	movl	4(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %edx
	callq	_pr_info
	movq	_ENOPROTOOPT@GOTPCREL(%rip), %rcx
LBB0_31:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_32
LBB0_19:
	movq	_IPAC_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$140, %edx
	callq	_WriteHSCX
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$138, %edx
	jmp	LBB0_20
LBB0_15:
	movq	_IPAC_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$228, %edx
	callq	_WriteHSCX
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$130, %edx
	jmp	LBB0_16
LBB0_30:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_31
LBB0_28:
	movq	_IPAC_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$140, %edx
	callq	_WriteHSCX
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$141, %edx
LBB0_20:
	callq	_WriteHSCX
	movq	%r12, %rdi
	movl	$65, %esi
	callq	_hscx_cmdr
	movq	_IPAC_MASKB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
LBB0_21:
	callq	_WriteHSCX
	movq	_FLG_HDLC@GOTPCREL(%rip), %rax
	jmp	LBB0_18
LBB0_27:
	movq	_IPAC_MODEB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	movl	$228, %edx
	callq	_WriteHSCX
	movl	(%r15), %esi
	movq	%r12, %rdi
	movl	$133, %edx
LBB0_16:
	callq	_WriteHSCX
	movq	%r12, %rdi
	movl	$65, %esi
	callq	_hscx_cmdr
	movq	_IPAC_MASKB@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	xorl	%edx, %edx
LBB0_17:
	callq	_WriteHSCX
	movq	_FLG_TRANSPARENT@GOTPCREL(%rip), %rax
LBB0_18:
	movl	(%rax), %edi
	leaq	12(%r12), %rsi
	callq	_test_and_set_bit
LBB0_14:
	movl	%r14d, 8(%r12)
	xorl	%eax, %eax
LBB0_32:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: HSCX %c protocol %x-->%x ch %d\n"

	.comm	_IPAC_TYPE_IPACX,4,2            ## @IPAC_TYPE_IPACX
	.comm	_ISACX_BCHA_TSDP_BC1,4,2        ## @ISACX_BCHA_TSDP_BC1
	.comm	_ISACX_BCHA_CR,4,2              ## @ISACX_BCHA_CR
	.comm	_ISACX_BCHB_TSDP_BC1,4,2        ## @ISACX_BCHB_TSDP_BC1
	.comm	_ISACX_BCHB_CR,4,2              ## @ISACX_BCHB_CR
	.comm	_IPACX_MODEB,4,2                ## @IPACX_MODEB
	.comm	_IPACX_EXMB,4,2                 ## @IPACX_EXMB
	.comm	_IPACX_MASKB,4,2                ## @IPACX_MASKB
	.comm	_FLG_HDLC,4,2                   ## @FLG_HDLC
	.comm	_FLG_TRANSPARENT,4,2            ## @FLG_TRANSPARENT
	.comm	_IPACX_B_ON,4,2                 ## @IPACX_B_ON
L_.str.1:                               ## @.str.1
	.asciz	"%s: protocol not known %x\n"

	.comm	_ENOPROTOOPT,4,2                ## @ENOPROTOOPT
	.comm	_IPAC_TYPE_IPAC,4,2             ## @IPAC_TYPE_IPAC
	.comm	_IPAC_CCR1,4,2                  ## @IPAC_CCR1
	.comm	_IPAC_CCR2,4,2                  ## @IPAC_CCR2
	.comm	_IPAC_XCCR,4,2                  ## @IPAC_XCCR
	.comm	_IPAC_RCCR,4,2                  ## @IPAC_RCCR
	.comm	_IPAC_TSAX,4,2                  ## @IPAC_TSAX
	.comm	_IPAC_TSAR,4,2                  ## @IPAC_TSAR
	.comm	_IPAC_MODEB,4,2                 ## @IPAC_MODEB
	.comm	_IPAC_MASKB,4,2                 ## @IPAC_MASKB
	.comm	_IPAC_TYPE_HSCX,4,2             ## @IPAC_TYPE_HSCX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_hscx_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hscx_mode
_hscx_mode:                             ; @hscx_mode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	w1, [x8, #4]
	ldrsb	w5, [x0, #4]
	add	w8, w5, #64
	ldr	w3, [x0, #8]
	sxtb	w2, w8
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x4, x19
	bl	_pr_debug
	ldr	x0, [x20, #16]
	ldr	w8, [x0]
Lloh2:
	adrp	x9, _IPAC_TYPE_IPACX@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IPAC_TYPE_IPACX@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.1:
	ldrb	w8, [x20, #4]
	tst	w8, #0x1
	mov	w8, #128
	cinc	w2, w8, eq
Lloh5:
	adrp	x8, _ISACX_BCHB_TSDP_BC1@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ISACX_BCHB_TSDP_BC1@GOTPAGEOFF]
Lloh7:
	adrp	x9, _ISACX_BCHA_TSDP_BC1@GOTPAGE
Lloh8:
	ldr	x9, [x9, _ISACX_BCHA_TSDP_BC1@GOTPAGEOFF]
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _ISACX_BCHB_CR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISACX_BCHB_CR@GOTPAGEOFF]
Lloh11:
	adrp	x9, _ISACX_BCHA_CR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ISACX_BCHA_CR@GOTPAGEOFF]
	csel	x21, x8, x9, eq
	bl	_WriteIPAC
	ldr	x0, [x20, #16]
	ldr	w1, [x21]
	mov	w2, #136
	bl	_WriteIPAC
	cmp	w19, #130
	b.eq	LBB0_10
; %bb.2:
	cmp	w19, #129
	b.eq	LBB0_11
; %bb.3:
	cmp	w19, #128
	b.ne	LBB0_19
; %bb.4:
Lloh13:
	adrp	x8, _IPACX_MODEB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPACX_MODEB@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #192
	bl	_WriteHSCX
Lloh16:
	adrp	x8, _IPACX_EXMB@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IPACX_EXMB@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #48
	bl	_WriteHSCX
Lloh19:
	adrp	x8, _IPACX_MASKB@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IPACX_MASKB@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_WriteHSCX
	mov	x0, x20
	mov	w1, #65
	bl	_hscx_cmdr
	b	LBB0_18
LBB0_5:
Lloh22:
	adrp	x9, _IPAC_TYPE_IPAC@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IPAC_TYPE_IPAC@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.6:
Lloh25:
	adrp	x21, _IPAC_CCR1@GOTPAGE
Lloh26:
	ldr	x21, [x21, _IPAC_CCR1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #130
	bl	_WriteHSCX
Lloh27:
	adrp	x8, _IPAC_CCR2@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IPAC_CCR2@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #48
	bl	_WriteHSCX
Lloh30:
	adrp	x8, _IPAC_XCCR@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IPAC_XCCR@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #7
	bl	_WriteHSCX
Lloh33:
	adrp	x8, _IPAC_RCCR@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IPAC_RCCR@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #7
	bl	_WriteHSCX
Lloh36:
	adrp	x22, _IPAC_TSAX@GOTPAGE
Lloh37:
	ldr	x22, [x22, _IPAC_TSAX@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_WriteHSCX
Lloh38:
	adrp	x23, _IPAC_TSAR@GOTPAGE
Lloh39:
	ldr	x23, [x23, _IPAC_TSAR@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_WriteHSCX
	cmp	w19, #130
	b.eq	LBB0_21
; %bb.7:
	cmp	w19, #129
	b.eq	LBB0_22
; %bb.8:
	cmp	w19, #128
	b.ne	LBB0_19
; %bb.9:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #31
	bl	_WriteHSCX
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #31
	bl	_WriteHSCX
Lloh40:
	adrp	x8, _IPAC_MODEB@GOTPAGE
Lloh41:
	ldr	x8, [x8, _IPAC_MODEB@GOTPAGEOFF]
Lloh42:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #132
	bl	_WriteHSCX
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #130
	b	LBB0_17
LBB0_10:
Lloh43:
	adrp	x8, _IPACX_MODEB@GOTPAGE
Lloh44:
	ldr	x8, [x8, _IPACX_MODEB@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #192
	bl	_WriteHSCX
Lloh46:
	adrp	x8, _IPACX_EXMB@GOTPAGE
Lloh47:
	ldr	x8, [x8, _IPACX_EXMB@GOTPAGEOFF]
Lloh48:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_WriteHSCX
	mov	x0, x20
	mov	w1, #65
	bl	_hscx_cmdr
Lloh49:
	adrp	x8, _IPACX_MASKB@GOTPAGE
Lloh50:
	ldr	x8, [x8, _IPACX_MASKB@GOTPAGEOFF]
Lloh51:
	ldr	w1, [x8]
Lloh52:
	adrp	x8, _IPACX_B_ON@GOTPAGE
Lloh53:
	ldr	x8, [x8, _IPACX_B_ON@GOTPAGEOFF]
Lloh54:
	ldr	w2, [x8]
	mov	x0, x20
	b	LBB0_26
LBB0_11:
Lloh55:
	adrp	x8, _IPACX_MODEB@GOTPAGE
Lloh56:
	ldr	x8, [x8, _IPACX_MODEB@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #136
	bl	_WriteHSCX
Lloh58:
	adrp	x8, _IPACX_EXMB@GOTPAGE
Lloh59:
	ldr	x8, [x8, _IPACX_EXMB@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_WriteHSCX
	mov	x0, x20
	mov	w1, #65
	bl	_hscx_cmdr
Lloh61:
	adrp	x8, _IPACX_MASKB@GOTPAGE
Lloh62:
	ldr	x8, [x8, _IPACX_MASKB@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
Lloh64:
	adrp	x8, _IPACX_B_ON@GOTPAGE
Lloh65:
	ldr	x8, [x8, _IPACX_B_ON@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
	mov	x0, x20
	b	LBB0_29
LBB0_12:
Lloh67:
	adrp	x9, _IPAC_TYPE_HSCX@GOTPAGE
Lloh68:
	ldr	x9, [x9, _IPAC_TYPE_HSCX@GOTPAGEOFF]
Lloh69:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.13:
Lloh70:
	adrp	x21, _IPAC_CCR1@GOTPAGE
Lloh71:
	ldr	x21, [x21, _IPAC_CCR1@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #133
	bl	_WriteHSCX
Lloh72:
	adrp	x8, _IPAC_CCR2@GOTPAGE
Lloh73:
	ldr	x8, [x8, _IPAC_CCR2@GOTPAGEOFF]
Lloh74:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #48
	bl	_WriteHSCX
Lloh75:
	adrp	x8, _IPAC_XCCR@GOTPAGE
Lloh76:
	ldr	x8, [x8, _IPAC_XCCR@GOTPAGEOFF]
Lloh77:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #7
	bl	_WriteHSCX
Lloh78:
	adrp	x8, _IPAC_RCCR@GOTPAGE
Lloh79:
	ldr	x8, [x8, _IPAC_RCCR@GOTPAGEOFF]
Lloh80:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #7
	bl	_WriteHSCX
Lloh81:
	adrp	x22, _IPAC_TSAX@GOTPAGE
Lloh82:
	ldr	x22, [x22, _IPAC_TSAX@GOTPAGEOFF]
	ldr	w1, [x22]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_WriteHSCX
Lloh83:
	adrp	x23, _IPAC_TSAR@GOTPAGE
Lloh84:
	ldr	x23, [x23, _IPAC_TSAR@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w2, [x20]
	mov	x0, x20
	bl	_WriteHSCX
	cmp	w19, #130
	b.eq	LBB0_24
; %bb.14:
	cmp	w19, #129
	b.eq	LBB0_27
; %bb.15:
	cmp	w19, #128
	b.ne	LBB0_19
; %bb.16:
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #31
	bl	_WriteHSCX
	ldr	w1, [x23]
	mov	x0, x20
	mov	w2, #31
	bl	_WriteHSCX
Lloh85:
	adrp	x8, _IPAC_MODEB@GOTPAGE
Lloh86:
	ldr	x8, [x8, _IPAC_MODEB@GOTPAGEOFF]
Lloh87:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #132
	bl	_WriteHSCX
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #133
LBB0_17:
	bl	_WriteHSCX
Lloh88:
	adrp	x8, _IPAC_MASKB@GOTPAGE
Lloh89:
	ldr	x8, [x8, _IPAC_MASKB@GOTPAGEOFF]
Lloh90:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #255
	bl	_WriteHSCX
LBB0_18:
Lloh91:
	adrp	x8, _FLG_HDLC@GOTPAGE
Lloh92:
	ldr	x8, [x8, _FLG_HDLC@GOTPAGEOFF]
Lloh93:
	ldr	w0, [x8]
	add	x21, x20, #12
	mov	x1, x21
	bl	_test_and_clear_bit
Lloh94:
	adrp	x8, _FLG_TRANSPARENT@GOTPAGE
Lloh95:
	ldr	x8, [x8, _FLG_TRANSPARENT@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_and_clear_bit
	b	LBB0_31
LBB0_19:
	ldr	x8, [x20, #16]
	ldr	w1, [x8, #4]
Lloh97:
	adrp	x0, l_.str.1@PAGE
Lloh98:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_pr_info
Lloh99:
	adrp	x8, _ENOPROTOOPT@GOTPAGE
Lloh100:
	ldr	x8, [x8, _ENOPROTOOPT@GOTPAGEOFF]
LBB0_20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_32
LBB0_21:
Lloh101:
	adrp	x8, _IPAC_MODEB@GOTPAGE
Lloh102:
	ldr	x8, [x8, _IPAC_MODEB@GOTPAGEOFF]
Lloh103:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #140
	bl	_WriteHSCX
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #138
	b	LBB0_25
LBB0_22:
Lloh104:
	adrp	x8, _IPAC_MODEB@GOTPAGE
Lloh105:
	ldr	x8, [x8, _IPAC_MODEB@GOTPAGEOFF]
Lloh106:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #228
	bl	_WriteHSCX
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #130
	b	LBB0_28
LBB0_23:
Lloh107:
	adrp	x8, _EINVAL@GOTPAGE
Lloh108:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_20
LBB0_24:
Lloh109:
	adrp	x8, _IPAC_MODEB@GOTPAGE
Lloh110:
	ldr	x8, [x8, _IPAC_MODEB@GOTPAGEOFF]
Lloh111:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #140
	bl	_WriteHSCX
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #141
LBB0_25:
	bl	_WriteHSCX
	mov	x0, x20
	mov	w1, #65
	bl	_hscx_cmdr
Lloh112:
	adrp	x8, _IPAC_MASKB@GOTPAGE
Lloh113:
	ldr	x8, [x8, _IPAC_MASKB@GOTPAGEOFF]
Lloh114:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
LBB0_26:
	bl	_WriteHSCX
Lloh115:
	adrp	x8, _FLG_HDLC@GOTPAGE
Lloh116:
	ldr	x8, [x8, _FLG_HDLC@GOTPAGEOFF]
	b	LBB0_30
LBB0_27:
Lloh117:
	adrp	x8, _IPAC_MODEB@GOTPAGE
Lloh118:
	ldr	x8, [x8, _IPAC_MODEB@GOTPAGEOFF]
Lloh119:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #228
	bl	_WriteHSCX
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #133
LBB0_28:
	bl	_WriteHSCX
	mov	x0, x20
	mov	w1, #65
	bl	_hscx_cmdr
Lloh120:
	adrp	x8, _IPAC_MASKB@GOTPAGE
Lloh121:
	ldr	x8, [x8, _IPAC_MASKB@GOTPAGEOFF]
Lloh122:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
LBB0_29:
	bl	_WriteHSCX
Lloh123:
	adrp	x8, _FLG_TRANSPARENT@GOTPAGE
Lloh124:
	ldr	x8, [x8, _FLG_TRANSPARENT@GOTPAGEOFF]
LBB0_30:
	ldr	w0, [x8]
	add	x1, x20, #12
	bl	_test_and_set_bit
LBB0_31:
	mov	w0, #0
	str	w19, [x20, #8]
LBB0_32:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdrGot	Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh88, Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh112, Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.loh AdrpLdrGotLdr	Lloh120, Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh123, Lloh124
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: HSCX %c protocol %x-->%x ch %d\n"

	.comm	_IPAC_TYPE_IPACX,4,2            ; @IPAC_TYPE_IPACX
	.comm	_ISACX_BCHA_TSDP_BC1,4,2        ; @ISACX_BCHA_TSDP_BC1
	.comm	_ISACX_BCHA_CR,4,2              ; @ISACX_BCHA_CR
	.comm	_ISACX_BCHB_TSDP_BC1,4,2        ; @ISACX_BCHB_TSDP_BC1
	.comm	_ISACX_BCHB_CR,4,2              ; @ISACX_BCHB_CR
	.comm	_IPACX_MODEB,4,2                ; @IPACX_MODEB
	.comm	_IPACX_EXMB,4,2                 ; @IPACX_EXMB
	.comm	_IPACX_MASKB,4,2                ; @IPACX_MASKB
	.comm	_FLG_HDLC,4,2                   ; @FLG_HDLC
	.comm	_FLG_TRANSPARENT,4,2            ; @FLG_TRANSPARENT
	.comm	_IPACX_B_ON,4,2                 ; @IPACX_B_ON
l_.str.1:                               ; @.str.1
	.asciz	"%s: protocol not known %x\n"

	.comm	_ENOPROTOOPT,4,2                ; @ENOPROTOOPT
	.comm	_IPAC_TYPE_IPAC,4,2             ; @IPAC_TYPE_IPAC
	.comm	_IPAC_CCR1,4,2                  ; @IPAC_CCR1
	.comm	_IPAC_CCR2,4,2                  ; @IPAC_CCR2
	.comm	_IPAC_XCCR,4,2                  ; @IPAC_XCCR
	.comm	_IPAC_RCCR,4,2                  ; @IPAC_RCCR
	.comm	_IPAC_TSAX,4,2                  ; @IPAC_TSAX
	.comm	_IPAC_TSAR,4,2                  ; @IPAC_TSAR
	.comm	_IPAC_MODEB,4,2                 ; @IPAC_MODEB
	.comm	_IPAC_MASKB,4,2                 ; @IPAC_MASKB
	.comm	_IPAC_TYPE_HSCX,4,2             ; @IPAC_TYPE_HSCX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_hscx_mode
.subsections_via_symbols
