	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dsi_get_line_buf_size
_dsi_get_line_buf_size:                 ## @dsi_get_line_buf_size
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rax
	movq	_DSI_QUIRK_GNQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_DSI_GNQ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$14, %edx
	movl	$12, %ecx
	callq	_REG_GET
	decl	%eax
	cmpl	$7, %eax
	jae	LBB0_3
## %bb.4:
	cltq
	leaq	l_switch.table.dsi_get_line_buf_size(%rip), %rcx
	movl	(%rcx,%rax,4), %ebx
	jmp	LBB0_5
LBB0_1:
	movl	$3069, %ebx                     ## imm = 0xBFD
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_BUG
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DSI_QUIRK_GNQ,4,2              ## @DSI_QUIRK_GNQ
	.comm	_DSI_GNQ,4,2                    ## @DSI_GNQ
	.no_dead_strip	_dsi_get_line_buf_size
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.dsi_get_line_buf_size
l_switch.table.dsi_get_line_buf_size:
	.long	1536                            ## 0x600
	.long	2046                            ## 0x7fe
	.long	2559                            ## 0x9ff
	.long	3072                            ## 0xc00
	.long	3582                            ## 0xdfe
	.long	4095                            ## 0xfff
	.long	5760                            ## 0x1680

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dsi_get_line_buf_size
_dsi_get_line_buf_size:                 ; @dsi_get_line_buf_size
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _DSI_QUIRK_GNQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DSI_QUIRK_GNQ@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _DSI_GNQ@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DSI_GNQ@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #14
	mov	w3, #12
	bl	_REG_GET
	sub	w8, w0, #1
	cmp	w8, #7
	b.hs	LBB0_4
; %bb.2:
Lloh6:
	adrp	x9, l_switch.table.dsi_get_line_buf_size@PAGE
Lloh7:
	add	x9, x9, l_switch.table.dsi_get_line_buf_size@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #3069
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	_BUG
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DSI_QUIRK_GNQ,4,2              ; @DSI_QUIRK_GNQ
	.comm	_DSI_GNQ,4,2                    ; @DSI_GNQ
	.no_dead_strip	_dsi_get_line_buf_size
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.dsi_get_line_buf_size
l_switch.table.dsi_get_line_buf_size:
	.long	1536                            ; 0x600
	.long	2046                            ; 0x7fe
	.long	2559                            ; 0x9ff
	.long	3072                            ; 0xc00
	.long	3582                            ; 0xdfe
	.long	4095                            ; 0xfff
	.long	5760                            ; 0x1680

.subsections_via_symbols
