	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_register_to_LL         ## -- Begin function gigaset_register_to_LL
	.p2align	4, 0x90
_gigaset_register_to_LL:                ## @gigaset_register_to_LL
	.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
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_DEBUG_ANY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_gig_dbg
	movl	(%rbx), %r8d
	movl	76(%rbx), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$4, %esi
	movq	%r14, %rcx
	callq	_snprintf
	cmpl	$4, %eax
	jb	LBB0_2
## %bb.1:
	leaq	L_.str.2(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_5
LBB0_2:
	movq	_THIS_MODULE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 72(%rbx)
	movl	8(%rbx), %eax
	movl	%eax, 20(%rbx)
	movq	_MAX_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_ISDN_FEATURE_L2_TRANS@GOTPCREL(%rip), %rax
	movq	_ISDN_FEATURE_L2_HDLC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	16(%rbx), %rdi
	movq	_ISDN_FEATURE_L3_TRANS@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ISDN_FEATURE_P_EURO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movq	_HW_HDR_LEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	_command_from_LL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 60(%rbx)
	movq	_writebuf_from_LL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 56(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movups	%xmm0, 24(%rbx)
	callq	_register_isdn
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	20(%rbx), %eax
	movl	%eax, 4(%rbx)
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.3(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_pr_err
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DEBUG_ANY,4,2                  ## @DEBUG_ANY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Register driver capabilities to LL"

L_.str.1:                               ## @.str.1
	.asciz	"%s_%u"

L_.str.2:                               ## @.str.2
	.asciz	"ID too long: %s\n"

	.comm	_THIS_MODULE,4,2                ## @THIS_MODULE
	.comm	_MAX_BUF_SIZE,4,2               ## @MAX_BUF_SIZE
	.comm	_ISDN_FEATURE_L2_TRANS,4,2      ## @ISDN_FEATURE_L2_TRANS
	.comm	_ISDN_FEATURE_L2_HDLC,4,2       ## @ISDN_FEATURE_L2_HDLC
	.comm	_ISDN_FEATURE_L3_TRANS,4,2      ## @ISDN_FEATURE_L3_TRANS
	.comm	_ISDN_FEATURE_P_EURO,4,2        ## @ISDN_FEATURE_P_EURO
	.comm	_HW_HDR_LEN,4,2                 ## @HW_HDR_LEN
	.comm	_command_from_LL,4,2            ## @command_from_LL
	.comm	_writebuf_from_LL,4,2           ## @writebuf_from_LL
L_.str.3:                               ## @.str.3
	.asciz	"register_isdn failed\n"

	.comm	_ISDN_FEATURE_L2_X75I,4,2       ## @ISDN_FEATURE_L2_X75I
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gigaset_register_to_LL         ; -- Begin function gigaset_register_to_LL
	.p2align	2
_gigaset_register_to_LL:                ; @gigaset_register_to_LL
	.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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DEBUG_ANY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEBUG_ANY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_gig_dbg
	ldr	w0, [x19, #76]
	ldr	w4, [x19]
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	x3, x20
	bl	_snprintf
	cmp	w0, #4
	b.lo	LBB0_2
; %bb.1:
	str	x20, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x8, _THIS_MODULE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _THIS_MODULE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _ISDN_FEATURE_L2_TRANS@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISDN_FEATURE_L2_TRANS@GOTPAGEOFF]
Lloh14:
	adrp	x10, _ISDN_FEATURE_L2_HDLC@GOTPAGE
Lloh15:
	ldr	x10, [x10, _ISDN_FEATURE_L2_HDLC@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh18:
	adrp	x10, _ISDN_FEATURE_L3_TRANS@GOTPAGE
Lloh19:
	ldr	x10, [x10, _ISDN_FEATURE_L3_TRANS@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh21:
	adrp	x10, _ISDN_FEATURE_P_EURO@GOTPAGE
Lloh22:
	ldr	x10, [x10, _ISDN_FEATURE_P_EURO@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
	mov	x0, x19
	str	w9, [x0, #16]!
	str	w8, [x0, #56]
	ldur	w8, [x0, #-8]
Lloh24:
	adrp	x9, _MAX_BUF_SIZE@GOTPAGE
Lloh25:
	ldr	x9, [x9, _MAX_BUF_SIZE@GOTPAGEOFF]
	str	w8, [x0, #4]
Lloh26:
	ldr	w8, [x9]
Lloh27:
	adrp	x9, _HW_HDR_LEN@GOTPAGE
Lloh28:
	ldr	x9, [x9, _HW_HDR_LEN@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #48]
Lloh30:
	adrp	x8, _command_from_LL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _command_from_LL@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _writebuf_from_LL@GOTPAGE
Lloh34:
	ldr	x9, [x9, _writebuf_from_LL@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	stp	w9, w8, [x0, #40]
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #8]
	stur	q0, [x0, #24]
	bl	_register_isdn
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w8, [x19, #20]
	str	w8, [x19, #4]
	mov	w0, #1
	b	LBB0_6
LBB0_4:
Lloh36:
	adrp	x0, l_.str.3@PAGE
Lloh37:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_5:
	bl	_pr_err
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_DEBUG_ANY,4,2                  ; @DEBUG_ANY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Register driver capabilities to LL"

l_.str.1:                               ; @.str.1
	.asciz	"%s_%u"

l_.str.2:                               ; @.str.2
	.asciz	"ID too long: %s\n"

	.comm	_THIS_MODULE,4,2                ; @THIS_MODULE
	.comm	_MAX_BUF_SIZE,4,2               ; @MAX_BUF_SIZE
	.comm	_ISDN_FEATURE_L2_TRANS,4,2      ; @ISDN_FEATURE_L2_TRANS
	.comm	_ISDN_FEATURE_L2_HDLC,4,2       ; @ISDN_FEATURE_L2_HDLC
	.comm	_ISDN_FEATURE_L3_TRANS,4,2      ; @ISDN_FEATURE_L3_TRANS
	.comm	_ISDN_FEATURE_P_EURO,4,2        ; @ISDN_FEATURE_P_EURO
	.comm	_HW_HDR_LEN,4,2                 ; @HW_HDR_LEN
	.comm	_command_from_LL,4,2            ; @command_from_LL
	.comm	_writebuf_from_LL,4,2           ; @writebuf_from_LL
l_.str.3:                               ; @.str.3
	.asciz	"register_isdn failed\n"

	.comm	_ISDN_FEATURE_L2_X75I,4,2       ; @ISDN_FEATURE_L2_X75I
.subsections_via_symbols
