	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isdnhdlc_out_init              ## -- Begin function isdnhdlc_out_init
	.p2align	4, 0x90
_isdnhdlc_out_init:                     ## @isdnhdlc_out_init
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$28, %edx
	callq	_memset
	movq	_HDLC_DCHANNEL@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_2
## %bb.1:
	movl	$1, (%rbx)
	movq	_HDLC_SEND_FIRST_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_3
LBB0_2:
	movl	$0, (%rbx)
	movq	_HDLC_SEND_FAST_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$126, 4(%rbx)
LBB0_3:
	movl	%eax, 24(%rbx)
	movl	$126, 8(%rbx)
	movq	_HDLC_56KBIT@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movl	$1, 12(%rbx)
	movq	_HDLC_SENDFLAG_B0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	jmp	LBB0_6
LBB0_5:
	movl	$8, 16(%rbx)
LBB0_6:
	movq	_HDLC_BITREVERSE@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.7:
	movl	$1, 20(%rbx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HDLC_DCHANNEL,4,2              ## @HDLC_DCHANNEL
	.comm	_HDLC_SEND_FIRST_FLAG,4,2       ## @HDLC_SEND_FIRST_FLAG
	.comm	_HDLC_SEND_FAST_FLAG,4,2        ## @HDLC_SEND_FAST_FLAG
	.comm	_HDLC_56KBIT,4,2                ## @HDLC_56KBIT
	.comm	_HDLC_SENDFLAG_B0,4,2           ## @HDLC_SENDFLAG_B0
	.comm	_HDLC_BITREVERSE,4,2            ## @HDLC_BITREVERSE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function isdnhdlc_out_init
lCPI0_0:
	.long	0                               ; 0x0
	.long	126                             ; 0x7e
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_isdnhdlc_out_init
	.p2align	2
_isdnhdlc_out_init:                     ; @isdnhdlc_out_init
	.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	x20, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #28
	bl	_memset
Lloh0:
	adrp	x8, _HDLC_DCHANNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HDLC_DCHANNEL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #1
	str	w8, [x19]
Lloh3:
	adrp	x8, _HDLC_SEND_FIRST_FLAG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDLC_SEND_FIRST_FLAG@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19]
Lloh7:
	adrp	x8, _HDLC_SEND_FAST_FLAG@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HDLC_SEND_FAST_FLAG@GOTPAGEOFF]
LBB0_3:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	mov	w8, #126
	str	w8, [x19, #8]
Lloh9:
	adrp	x8, _HDLC_56KBIT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _HDLC_56KBIT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	mov	w8, #1
	str	w8, [x19, #12]
Lloh12:
	adrp	x8, _HDLC_SENDFLAG_B0@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDLC_SENDFLAG_B0@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	b	LBB0_6
LBB0_5:
	mov	w8, #8
	str	w8, [x19, #16]
LBB0_6:
Lloh15:
	adrp	x8, _HDLC_BITREVERSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDLC_BITREVERSE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_8
; %bb.7:
	mov	w8, #1
	str	w8, [x19, #20]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdrp	Lloh5, Lloh7
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HDLC_DCHANNEL,4,2              ; @HDLC_DCHANNEL
	.comm	_HDLC_SEND_FIRST_FLAG,4,2       ; @HDLC_SEND_FIRST_FLAG
	.comm	_HDLC_SEND_FAST_FLAG,4,2        ; @HDLC_SEND_FAST_FLAG
	.comm	_HDLC_56KBIT,4,2                ; @HDLC_56KBIT
	.comm	_HDLC_SENDFLAG_B0,4,2           ; @HDLC_SENDFLAG_B0
	.comm	_HDLC_BITREVERSE,4,2            ; @HDLC_BITREVERSE
.subsections_via_symbols
