	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lli_deliver_cause
_lli_deliver_cause:                     ## @lli_deliver_cause
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -24
	movq	8(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rax), %ecx
	movq	_NO_CAUSE@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %ecx
	je	LBB0_3
## %bb.2:
	movq	%rdi, %rbx
	movq	(%rdi), %rdx
	movl	16(%rdx), %esi
	movl	%esi, -12(%rbp)
	movq	_ISDN_STAT_CAUSE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, -16(%rbp)
	movl	16(%rdi), %esi
	movl	%esi, -20(%rbp)
	movq	(%rdx), %rsi
	movq	_ISDN_PTYPE_EURO@GOTPCREL(%rip), %rdi
	movl	4(%rax), %edx
	andl	$127, %edx
	andl	$127, %ecx
	cmpq	(%rdi), %rsi
	leaq	L_.str(%rip), %rax
	leaq	L_.str.1(%rip), %rsi
	cmoveq	%rax, %rsi
	callq	_sprintf
	movq	(%rbx), %rax
	leaq	-24(%rbp), %rdi
	callq	*8(%rax)
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NO_CAUSE,4,2                   ## @NO_CAUSE
	.comm	_ISDN_STAT_CAUSE,4,2            ## @ISDN_STAT_CAUSE
	.comm	_ISDN_PTYPE_EURO,8,3            ## @ISDN_PTYPE_EURO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"E%02X%02X"

L_.str.1:                               ## @.str.1
	.asciz	"%02X%02X"

	.no_dead_strip	_lli_deliver_cause
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lli_deliver_cause
_lli_deliver_cause:                     ; @lli_deliver_cause
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	w9, [x8]
Lloh0:
	adrp	x10, _NO_CAUSE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NO_CAUSE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	cmp	w9, w10
	b.eq	LBB0_3
; %bb.2:
	mov	x19, x0
	ldr	x10, [x0]
	ldr	w11, [x10, #16]
Lloh3:
	adrp	x12, _ISDN_STAT_CAUSE@GOTPAGE
Lloh4:
	ldr	x12, [x12, _ISDN_STAT_CAUSE@GOTPAGEOFF]
	str	w11, [sp, #12]
Lloh5:
	ldr	w11, [x12]
	ldr	w12, [x0, #16]
	stp	w12, w11, [sp, #4]
	ldr	x10, [x10]
Lloh6:
	adrp	x11, _ISDN_PTYPE_EURO@GOTPAGE
Lloh7:
	ldr	x11, [x11, _ISDN_PTYPE_EURO@GOTPAGEOFF]
Lloh8:
	ldr	x11, [x11]
	ldr	w8, [x8, #4]
	and	w2, w8, #0x7f
	and	w3, w9, #0x7f
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh11:
	adrp	x9, l_.str@PAGE
Lloh12:
	add	x9, x9, l_.str@PAGEOFF
	cmp	x10, x11
	csel	x1, x9, x8, eq
	bl	_sprintf
	ldr	x8, [x19]
	ldr	x8, [x8, #8]
	mov	x0, sp
	blr	x8
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NO_CAUSE,4,2                   ; @NO_CAUSE
	.comm	_ISDN_STAT_CAUSE,4,2            ; @ISDN_STAT_CAUSE
	.comm	_ISDN_PTYPE_EURO,8,3            ; @ISDN_PTYPE_EURO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"E%02X%02X"

l_.str.1:                               ; @.str.1
	.asciz	"%02X%02X"

	.no_dead_strip	_lli_deliver_cause
.subsections_via_symbols
