	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gigaset_set_line_ctrl
_gigaset_set_line_ctrl:                 ## @gigaset_set_line_ctrl
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	_PARENB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	_PARODD@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	testl	%esi, (%rcx)
	movq	%rdi, %r14
	sete	%bl
	shll	$4, %ebx
	addl	$16, %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	movq	_CSIZE@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	andl	%esi, %eax
	addl	$-128, %eax
	cmpl	$4, %eax
	jae	LBB0_1
## %bb.2:
	shll	$8, %eax
	movl	$2048, %ecx                     ## imm = 0x800
	subl	%eax, %ecx
	jmp	LBB0_3
LBB0_1:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movl	$2048, %ecx                     ## imm = 0x800
LBB0_3:
	orl	%ecx, %ebx
	movq	_CSTOPB@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_7
## %bb.4:
	andl	(%r12), %r15d
	cmpl	$131, %r15d
	jne	LBB0_6
## %bb.5:
	orl	$1, %ebx
	jmp	LBB0_7
LBB0_6:
	orl	$2, %ebx
LBB0_7:
	movq	%r14, %rdi
	movl	$3, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_value                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PARENB,4,2                     ## @PARENB
	.comm	_PARODD,4,2                     ## @PARODD
	.comm	_CSIZE,4,2                      ## @CSIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"CSIZE was not CS5-CS8, using default of 8\n"

	.comm	_CSTOPB,4,2                     ## @CSTOPB
	.no_dead_strip	_gigaset_set_line_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gigaset_set_line_ctrl
_gigaset_set_line_ctrl:                 ; @gigaset_set_line_ctrl
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _PARENB@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PARENB@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _PARODD@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PARODD@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w1
	mov	w9, #16
	mov	w10, #32
	csel	w9, w10, w9, eq
	tst	w8, w1
	csel	w22, wzr, w9, eq
Lloh6:
	adrp	x21, _CSIZE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _CSIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	and	w8, w8, w1
	sub	w8, w8, #128
	cmp	w8, #4
	b.hs	LBB0_2
; %bb.1:
	mov	w9, #2048
	sub	w8, w9, w8, lsl #8
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
	mov	w8, #2048
LBB0_3:
	orr	w2, w22, w8
Lloh10:
	adrp	x8, _CSTOPB@GOTPAGE
Lloh11:
	ldr	x8, [x8, _CSTOPB@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_5
; %bb.4:
	ldr	w8, [x21]
	and	w8, w8, w20
	orr	w9, w2, #0x2
	orr	w10, w2, #0x1
	cmp	w8, #131
	csel	w2, w9, w10, ne
LBB0_5:
	mov	x0, x19
	mov	w1, #3
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_set_value
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PARENB,4,2                     ; @PARENB
	.comm	_PARODD,4,2                     ; @PARODD
	.comm	_CSIZE,4,2                      ; @CSIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"CSIZE was not CS5-CS8, using default of 8\n"

	.comm	_CSTOPB,4,2                     ; @CSTOPB
	.no_dead_strip	_gigaset_set_line_ctrl
.subsections_via_symbols
