	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function repaper_probe
LCPI0_0:
	.long	480                             ## 0x1e0
	.long	24                              ## 0x18
	.long	1                               ## 0x1
	.long	0                               ## 0x0
LCPI0_1:
	.long	630                             ## 0x276
	.long	44                              ## 0x2c
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_2:
	.long	480                             ## 0x1e0
	.long	24                              ## 0x18
	.long	1                               ## 0x1
	.long	1                               ## 0x1
LCPI0_3:
	.long	480                             ## 0x1e0
	.long	16                              ## 0x10
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_repaper_probe:                         ## @repaper_probe
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	leaq	4(%rdi), %r13
	movq	_repaper_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_spi_get_device_id
LBB0_2:
	movl	(%rax), %r15d
	cmpl	$0, (%r13)
	je	LBB0_3
LBB0_5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$160, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	leaq	136(%rax), %r15
	movq	_repaper_driver@GOTPCREL(%rip), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_devm_drm_dev_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	%eax, %r14d
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_41
LBB0_3:
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_dma_coerce_mask_and_coherent
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %r14d
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	callq	_dev_warn
	jmp	LBB0_41
LBB0_10:
	movq	%r15, %rdi
	callq	_drm_mode_config_init
	movq	_repaper_mode_config_funcs@GOTPCREL(%rip), %rax
	movq	%rax, 152(%r12)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 128(%r12)
	movq	_GPIOD_OUT_LOW@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 120(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	120(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_41
## %bb.12:
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_13
LBB0_14:
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 112(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	112(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_41
## %bb.16:
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_13
LBB0_17:
	movl	(%rbx), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 104(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	104(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_41
## %bb.19:
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_13
LBB0_20:
	movq	_GPIOD_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 96(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:
	movq	96(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_41
## %bb.22:
	leaq	L_.str.8(%rip), %rsi
LBB0_13:
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	jmp	LBB0_41
LBB0_23:
	leaq	L_.str.9(%rip), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	_device_property_read_string
	testl	%eax, %eax
	je	LBB0_24
LBB0_26:
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	addl	$-128, %esi
	cmpl	$3, %esi
	ja	LBB0_33
## %bb.27:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [480,24,1,0]
	movq	_repaper_e1144cs021_mode@GOTPCREL(%rip), %r14
	movq	_REPAPER_BORDER_BYTE_ZERO@GOTPCREL(%rip), %rax
	movq	_repaper_e1144cs021_cs@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rsi,4), %rsi
	addq	%rdx, %rsi
	jmpq	*%rsi
LBB0_29:
	movl	(%rbx), %edx
	leaq	L_.str.11(%rip), %rsi
	movq	%r13, %rdi
	callq	_devm_gpiod_get
	movq	%rax, 80(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:
	movq	80(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	movl	%r14d, %ecx
	addl	(%rax), %ecx
	je	LBB0_41
## %bb.32:
	leaq	L_.str.12(%rip), %rsi
	jmp	LBB0_13
LBB0_24:
	movq	-56(%rbp), %rdi
	callq	_thermal_zone_get_zone_by_name
	movq	%rax, 88(%r12)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_26
## %bb.25:
	movq	-56(%rbp), %rdx
	leaq	L_.str.10(%rip), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	callq	_DRM_DEV_ERROR
	movq	88(%r12), %rdi
	callq	_PTR_ERR
	movl	%eax, %r14d
	jmp	LBB0_41
LBB0_33:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_28:
	movdqa	LCPI0_2(%rip), %xmm0            ## xmm0 = [480,24,1,1]
	movq	_repaper_e2200cs021_mode@GOTPCREL(%rip), %r14
	movq	_REPAPER_BORDER_BYTE_NONE@GOTPCREL(%rip), %rax
	movq	_repaper_e2200cs021_cs@GOTPCREL(%rip), %rcx
	jmp	LBB0_35
LBB0_34:
	movdqa	LCPI0_3(%rip), %xmm0            ## xmm0 = [480,16,0,0]
	movq	_repaper_e1190cs021_mode@GOTPCREL(%rip), %r14
	movq	_REPAPER_BORDER_BYTE_SET@GOTPCREL(%rip), %rax
	movq	_repaper_e1190cs021_cs@GOTPCREL(%rip), %rcx
	jmp	LBB0_35
LBB0_30:
	movdqa	LCPI0_1(%rip), %xmm0            ## xmm0 = [630,44,1,1]
	movq	_repaper_e2271cs021_mode@GOTPCREL(%rip), %r14
	movq	_REPAPER_BORDER_BYTE_NONE@GOTPCREL(%rip), %rax
	movq	_repaper_e2271cs021_cs@GOTPCREL(%rip), %rcx
LBB0_35:
	movl	(%rcx), %ecx
	movl	%ecx, 72(%r12)
	movdqu	%xmm0, (%r12)
	movq	(%rax), %rax
	movq	%rax, 64(%r12)
	movq	%r14, 56(%r12)
	movl	(%r14), %eax
	movl	%eax, 16(%r12)
	movl	4(%r14), %ecx
	movl	%ecx, 20(%r12)
	movd	%xmm0, 24(%r12)
	leal	3(%rax), %ecx
	testl	%eax, %eax
	cmovnsl	%eax, %ecx
	sarl	$2, %ecx
	pextrd	$1, %xmm0, %eax
	leal	(%rcx,%rax), %esi
	addl	$2, %esi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_devm_kzalloc
	movq	%rax, 48(%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.36:
	movl	20(%r12), %eax
	imull	16(%r12), %eax
	leal	7(%rax), %esi
	testl	%eax, %eax
	cmovnsl	%eax, %esi
	sarl	$3, %esi
	movl	(%rbx), %edx
	movq	%r13, %rdi
	callq	_devm_kzalloc
	movq	%rax, 40(%r12)
	testq	%rax, %rax
	je	LBB0_6
## %bb.37:
	movq	(%r14), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$80, %xmm0, %xmm0               ## xmm0 = xmm0[0,0,1,1]
	movdqu	%xmm0, 136(%r12)
	leaq	28(%r12), %r13
	movq	_repaper_connector_hfuncs@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_drm_connector_helper_add
	movq	_DRM_MODE_CONNECTOR_SPI@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_repaper_connector_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_drm_connector_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.38:
	addq	$32, %r12
	movq	_repaper_formats@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movq	%r13, (%rsp)
	movq	_repaper_pipe_funcs@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%ebx, %ecx
	movl	%eax, %r8d
	xorl	%r9d, %r9d
	callq	_drm_simple_display_pipe_init
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.39:
	movq	%r15, %rdi
	callq	_drm_mode_config_reset
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_drm_dev_register
	movl	%eax, %r14d
	testl	%eax, %eax
	jne	LBB0_41
## %bb.40:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_spi_set_drvdata
	movslq	(%rbx), %rax
	imulq	$1125899907, %rax, %rsi         ## imm = 0x431BDE83
	movq	%rsi, %rax
	shrq	$63, %rax
	sarq	$50, %rsi
	addl	%eax, %esi
	leaq	L_.str.13(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_DRM_DEBUG_DRIVER
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_drm_fbdev_generic_setup
	xorl	%r14d, %r14d
	jmp	LBB0_41
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_7:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_41:
	movl	%r14d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
LJTI0_0:
	.long	L0_0_set_29
	.long	L0_0_set_28
	.long	L0_0_set_34
	.long	L0_0_set_35
	.end_data_region
                                        ## -- End function
	.comm	_repaper_of_match,4,2           ## @repaper_of_match
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to set dma mask %d\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_repaper_driver,4,2             ## @repaper_driver
	.comm	_repaper_mode_config_funcs,4,2  ## @repaper_mode_config_funcs
L_.str.1:                               ## @.str.1
	.asciz	"panel-on"

	.comm	_GPIOD_OUT_LOW,4,2              ## @GPIOD_OUT_LOW
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
L_.str.2:                               ## @.str.2
	.asciz	"Failed to get gpio 'panel-on'\n"

L_.str.3:                               ## @.str.3
	.asciz	"discharge"

L_.str.4:                               ## @.str.4
	.asciz	"Failed to get gpio 'discharge'\n"

L_.str.5:                               ## @.str.5
	.asciz	"reset"

L_.str.6:                               ## @.str.6
	.asciz	"Failed to get gpio 'reset'\n"

L_.str.7:                               ## @.str.7
	.asciz	"busy"

	.comm	_GPIOD_IN,4,2                   ## @GPIOD_IN
L_.str.8:                               ## @.str.8
	.asciz	"Failed to get gpio 'busy'\n"

L_.str.9:                               ## @.str.9
	.asciz	"pervasive,thermal-zone"

L_.str.10:                              ## @.str.10
	.asciz	"Failed to get thermal zone: %s\n"

	.comm	_repaper_e1144cs021_mode,8,2    ## @repaper_e1144cs021_mode
	.comm	_repaper_e1144cs021_cs,4,2      ## @repaper_e1144cs021_cs
	.comm	_REPAPER_BORDER_BYTE_ZERO,8,3   ## @REPAPER_BORDER_BYTE_ZERO
	.comm	_repaper_e1190cs021_mode,8,2    ## @repaper_e1190cs021_mode
	.comm	_repaper_e1190cs021_cs,4,2      ## @repaper_e1190cs021_cs
	.comm	_REPAPER_BORDER_BYTE_SET,8,3    ## @REPAPER_BORDER_BYTE_SET
	.comm	_repaper_e2200cs021_mode,8,2    ## @repaper_e2200cs021_mode
	.comm	_repaper_e2200cs021_cs,4,2      ## @repaper_e2200cs021_cs
	.comm	_REPAPER_BORDER_BYTE_NONE,8,3   ## @REPAPER_BORDER_BYTE_NONE
L_.str.11:                              ## @.str.11
	.asciz	"border"

L_.str.12:                              ## @.str.12
	.asciz	"Failed to get gpio 'border'\n"

	.comm	_repaper_e2271cs021_mode,8,2    ## @repaper_e2271cs021_mode
	.comm	_repaper_e2271cs021_cs,4,2      ## @repaper_e2271cs021_cs
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_repaper_connector_hfuncs,4,2   ## @repaper_connector_hfuncs
	.comm	_repaper_connector_funcs,4,2    ## @repaper_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_SPI,4,2     ## @DRM_MODE_CONNECTOR_SPI
	.comm	_repaper_pipe_funcs,4,2         ## @repaper_pipe_funcs
	.comm	_repaper_formats,4,2            ## @repaper_formats
L_.str.13:                              ## @.str.13
	.asciz	"SPI speed: %uMHz\n"

	.no_dead_strip	_repaper_probe
.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 repaper_probe
lCPI0_0:
	.long	24                              ; 0x18
	.long	1                               ; 0x1
lCPI0_1:
	.long	44                              ; 0x2c
	.long	1                               ; 0x1
lCPI0_2:
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_repaper_probe:                         ; @repaper_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	add	x20, x0, #4
Lloh0:
	adrp	x8, _repaper_of_match@GOTPAGE
Lloh1:
	ldr	x8, [x8, _repaper_of_match@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_of_match_device
	cbnz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_spi_get_device_id
LBB0_2:
	ldr	w25, [x0]
	ldr	w8, [x20]
	cbz	w8, LBB0_6
LBB0_3:
Lloh3:
	adrp	x24, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x24, [x24, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	w0, #160
	bl	_kzalloc
	cbz	x0, LBB0_39
; %bb.4:
	mov	x22, x0
	add	x21, x0, #136
Lloh5:
	adrp	x2, _repaper_driver@GOTPAGE
Lloh6:
	ldr	x2, [x2, _repaper_driver@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x21
	bl	_devm_drm_dev_init
	cbz	w0, LBB0_8
; %bb.5:
	mov	x23, x0
	mov	x0, x22
	bl	_kfree
	b	LBB0_41
LBB0_6:
	mov	w0, #32
	bl	_DMA_BIT_MASK
	mov	x1, x0
	mov	x0, x20
	bl	_dma_coerce_mask_and_coherent
	cbz	w0, LBB0_3
; %bb.7:
	mov	x23, x0
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x23
	bl	_dev_warn
	b	LBB0_41
LBB0_8:
	mov	x0, x21
	bl	_drm_mode_config_init
Lloh9:
	adrp	x8, _repaper_mode_config_funcs@GOTPAGE
Lloh10:
	ldr	x8, [x8, _repaper_mode_config_funcs@GOTPAGEOFF]
	str	x8, [x22, #152]
	str	x19, [x22, #128]
Lloh11:
	adrp	x26, _GPIOD_OUT_LOW@GOTPAGE
Lloh12:
	ldr	x26, [x26, _GPIOD_OUT_LOW@GOTPAGEOFF]
	ldr	w2, [x26]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x22, #120]
	bl	_IS_ERR
	cbz	x0, LBB0_11
; %bb.9:
	ldr	x0, [x22, #120]
	bl	_PTR_ERR
	mov	x23, x0
Lloh15:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_41
; %bb.10:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_20
LBB0_11:
	ldr	w2, [x26]
Lloh20:
	adrp	x1, l_.str.3@PAGE
Lloh21:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x22, #112]
	bl	_IS_ERR
	cbz	x0, LBB0_14
; %bb.12:
	ldr	x0, [x22, #112]
	bl	_PTR_ERR
	mov	x23, x0
Lloh22:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh24:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_41
; %bb.13:
Lloh25:
	adrp	x1, l_.str.4@PAGE
Lloh26:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_20
LBB0_14:
	ldr	w2, [x26]
Lloh27:
	adrp	x1, l_.str.5@PAGE
Lloh28:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x22, #104]
	bl	_IS_ERR
	cbz	x0, LBB0_17
; %bb.15:
	ldr	x0, [x22, #104]
	bl	_PTR_ERR
	mov	x23, x0
Lloh29:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_41
; %bb.16:
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_20
LBB0_17:
Lloh34:
	adrp	x8, _GPIOD_IN@GOTPAGE
Lloh35:
	ldr	x8, [x8, _GPIOD_IN@GOTPAGEOFF]
Lloh36:
	ldr	w2, [x8]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x22, #96]
	bl	_IS_ERR
	cbz	x0, LBB0_21
; %bb.18:
	ldr	x0, [x22, #96]
	bl	_PTR_ERR
	mov	x23, x0
Lloh39:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh40:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_41
; %bb.19:
Lloh42:
	adrp	x1, l_.str.8@PAGE
Lloh43:
	add	x1, x1, l_.str.8@PAGEOFF
LBB0_20:
	mov	x0, x20
	bl	_DRM_DEV_ERROR
	b	LBB0_41
LBB0_21:
Lloh44:
	adrp	x1, l_.str.9@PAGE
Lloh45:
	add	x1, x1, l_.str.9@PAGEOFF
	add	x2, sp, #8
	mov	x0, x20
	bl	_device_property_read_string
	cbz	w0, LBB0_27
LBB0_22:
	sub	w12, w25, #128
	cmp	w12, #3
	b.hi	LBB0_29
; %bb.23:
	mov	w8, #0
Lloh46:
	adrp	x9, lCPI0_0@PAGE
Lloh47:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
Lloh48:
	adrp	x23, _repaper_e1144cs021_mode@GOTPAGE
Lloh49:
	ldr	x23, [x23, _repaper_e1144cs021_mode@GOTPAGEOFF]
Lloh50:
	adrp	x9, _REPAPER_BORDER_BYTE_ZERO@GOTPAGE
Lloh51:
	ldr	x9, [x9, _REPAPER_BORDER_BYTE_ZERO@GOTPAGEOFF]
	mov	w10, #480
Lloh52:
	adrp	x11, _repaper_e1144cs021_cs@GOTPAGE
Lloh53:
	ldr	x11, [x11, _repaper_e1144cs021_cs@GOTPAGEOFF]
Lloh54:
	adrp	x13, lJTI0_0@PAGE
Lloh55:
	add	x13, x13, lJTI0_0@PAGEOFF
	adr	x14, LBB0_24
	ldrb	w15, [x13, x12]
	add	x14, x14, x15, lsl #2
	br	x14
LBB0_24:
	ldr	w2, [x26]
Lloh56:
	adrp	x1, l_.str.11@PAGE
Lloh57:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x20
	bl	_devm_gpiod_get
	str	x0, [x22, #80]
	bl	_IS_ERR
	cbz	x0, LBB0_32
; %bb.25:
	ldr	x0, [x22, #80]
	bl	_PTR_ERR
	mov	x23, x0
Lloh58:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh59:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
Lloh60:
	ldr	w8, [x8]
	cmn	w0, w8
	b.eq	LBB0_41
; %bb.26:
Lloh61:
	adrp	x1, l_.str.12@PAGE
Lloh62:
	add	x1, x1, l_.str.12@PAGEOFF
	b	LBB0_20
LBB0_27:
	ldr	x0, [sp, #8]
	bl	_thermal_zone_get_zone_by_name
	str	x0, [x22, #88]
	bl	_IS_ERR
	cbz	x0, LBB0_22
; %bb.28:
	ldr	x8, [sp, #8]
	str	x8, [sp]
Lloh63:
	adrp	x1, l_.str.10@PAGE
Lloh64:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x20
	bl	_DRM_DEV_ERROR
	ldr	x0, [x22, #88]
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_41
LBB0_29:
Lloh65:
	adrp	x8, _ENODEV@GOTPAGE
Lloh66:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_40
LBB0_30:
Lloh67:
	adrp	x23, _repaper_e2200cs021_mode@GOTPAGE
Lloh68:
	ldr	x23, [x23, _repaper_e2200cs021_mode@GOTPAGEOFF]
Lloh69:
	adrp	x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGE
Lloh70:
	ldr	x9, [x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGEOFF]
	mov	w8, #1
	mov	w10, #480
Lloh71:
	adrp	x11, _repaper_e2200cs021_cs@GOTPAGE
Lloh72:
	ldr	x11, [x11, _repaper_e2200cs021_cs@GOTPAGEOFF]
	b	LBB0_33
LBB0_31:
	mov	w8, #0
Lloh73:
	adrp	x23, _repaper_e1190cs021_mode@GOTPAGE
Lloh74:
	ldr	x23, [x23, _repaper_e1190cs021_mode@GOTPAGEOFF]
Lloh75:
	adrp	x9, lCPI0_2@PAGE
Lloh76:
	ldr	d0, [x9, lCPI0_2@PAGEOFF]
Lloh77:
	adrp	x9, _REPAPER_BORDER_BYTE_SET@GOTPAGE
Lloh78:
	ldr	x9, [x9, _REPAPER_BORDER_BYTE_SET@GOTPAGEOFF]
	mov	w10, #480
Lloh79:
	adrp	x11, _repaper_e1190cs021_cs@GOTPAGE
Lloh80:
	ldr	x11, [x11, _repaper_e1190cs021_cs@GOTPAGEOFF]
	b	LBB0_33
LBB0_32:
Lloh81:
	adrp	x8, lCPI0_1@PAGE
Lloh82:
	ldr	d0, [x8, lCPI0_1@PAGEOFF]
Lloh83:
	adrp	x23, _repaper_e2271cs021_mode@GOTPAGE
Lloh84:
	ldr	x23, [x23, _repaper_e2271cs021_mode@GOTPAGEOFF]
Lloh85:
	adrp	x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGE
Lloh86:
	ldr	x9, [x9, _REPAPER_BORDER_BYTE_NONE@GOTPAGEOFF]
	mov	w8, #1
	mov	w10, #630
Lloh87:
	adrp	x11, _repaper_e2271cs021_cs@GOTPAGE
Lloh88:
	ldr	x11, [x11, _repaper_e2271cs021_cs@GOTPAGEOFF]
LBB0_33:
	ldr	w11, [x11]
	str	w11, [x22, #72]
	str	w10, [x22]
	stur	d0, [x22, #4]
	str	w8, [x22, #12]
	ldr	x8, [x9]
	stp	x23, x8, [x22, #56]
	ldr	d1, [x23]
	str	d1, [x22, #16]
	str	w10, [x22, #24]
	fmov	w8, s1
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	fmov	w9, s0
	add	w8, w9, w8, asr #2
	add	w1, w8, #2
	ldr	w2, [x24]
	mov	x0, x20
	bl	_devm_kzalloc
	str	x0, [x22, #48]
	cbz	x0, LBB0_39
; %bb.34:
	ldp	w8, w9, [x22, #16]
	mul	w8, w9, w8
	add	w9, w8, #7
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w1, w8, #3
	ldr	w2, [x24]
	mov	x0, x20
	bl	_devm_kzalloc
	str	x0, [x22, #40]
	cbz	x0, LBB0_39
; %bb.35:
	ldr	d0, [x23]
	fmov	d1, d0
	st2.2s	{ v0, v1 }, [x21]
	add	x20, x22, #28
Lloh89:
	adrp	x1, _repaper_connector_hfuncs@GOTPAGE
Lloh90:
	ldr	x1, [x1, _repaper_connector_hfuncs@GOTPAGEOFF]
	mov	x0, x20
	bl	_drm_connector_helper_add
Lloh91:
	adrp	x8, _DRM_MODE_CONNECTOR_SPI@GOTPAGE
Lloh92:
	ldr	x8, [x8, _DRM_MODE_CONNECTOR_SPI@GOTPAGEOFF]
Lloh93:
	ldr	w3, [x8]
Lloh94:
	adrp	x2, _repaper_connector_funcs@GOTPAGE
Lloh95:
	ldr	x2, [x2, _repaper_connector_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x20
	bl	_drm_connector_init
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.36:
	add	x22, x22, #32
Lloh96:
	adrp	x8, _repaper_formats@GOTPAGE
Lloh97:
	ldr	x8, [x8, _repaper_formats@GOTPAGEOFF]
Lloh98:
	ldr	w23, [x8]
	mov	x0, x23
	bl	_ARRAY_SIZE
	mov	x4, x0
Lloh99:
	adrp	x2, _repaper_pipe_funcs@GOTPAGE
Lloh100:
	ldr	x2, [x2, _repaper_pipe_funcs@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x23
	mov	x5, #0
	mov	x6, x20
	bl	_drm_simple_display_pipe_init
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.37:
	mov	x0, x21
	bl	_drm_mode_config_reset
	mov	x0, x21
	mov	w1, #0
	bl	_drm_dev_register
	mov	x23, x0
	cbnz	w0, LBB0_41
; %bb.38:
	mov	x0, x19
	mov	x1, x21
	bl	_spi_set_drvdata
	ldrsw	x8, [x19]
	mov	w9, #56963
	movk	w9, #17179, lsl #16
	mul	x8, x8, x9
	lsr	x9, x8, #63
	asr	x8, x8, #50
	add	w1, w8, w9
Lloh101:
	adrp	x0, l_.str.13@PAGE
Lloh102:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_DRM_DEBUG_DRIVER
	mov	x0, x21
	mov	w1, #0
	bl	_drm_fbdev_generic_setup
	b	LBB0_41
LBB0_39:
Lloh103:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh104:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_40:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_41:
	mov	x0, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpAdrp	Lloh46, Lloh50
	.loh AdrpLdr	Lloh46, Lloh47
	.loh AdrpAdd	Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGot	Lloh65, Lloh66
	.loh AdrpLdrGot	Lloh71, Lloh72
	.loh AdrpLdrGot	Lloh69, Lloh70
	.loh AdrpLdrGot	Lloh67, Lloh68
	.loh AdrpLdrGot	Lloh79, Lloh80
	.loh AdrpLdrGot	Lloh77, Lloh78
	.loh AdrpAdrp	Lloh75, Lloh77
	.loh AdrpLdr	Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh73, Lloh74
	.loh AdrpLdrGot	Lloh87, Lloh88
	.loh AdrpLdrGot	Lloh85, Lloh86
	.loh AdrpLdrGot	Lloh83, Lloh84
	.loh AdrpLdr	Lloh81, Lloh82
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh91, Lloh92, Lloh93
	.loh AdrpLdrGot	Lloh89, Lloh90
	.loh AdrpLdrGot	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpLdrGot	Lloh103, Lloh104
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_24-LBB0_24)>>2
	.byte	(LBB0_30-LBB0_24)>>2
	.byte	(LBB0_31-LBB0_24)>>2
	.byte	(LBB0_33-LBB0_24)>>2
                                        ; -- End function
	.comm	_repaper_of_match,4,2           ; @repaper_of_match
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to set dma mask %d\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_repaper_driver,4,2             ; @repaper_driver
	.comm	_repaper_mode_config_funcs,4,2  ; @repaper_mode_config_funcs
l_.str.1:                               ; @.str.1
	.asciz	"panel-on"

	.comm	_GPIOD_OUT_LOW,4,2              ; @GPIOD_OUT_LOW
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
l_.str.2:                               ; @.str.2
	.asciz	"Failed to get gpio 'panel-on'\n"

l_.str.3:                               ; @.str.3
	.asciz	"discharge"

l_.str.4:                               ; @.str.4
	.asciz	"Failed to get gpio 'discharge'\n"

l_.str.5:                               ; @.str.5
	.asciz	"reset"

l_.str.6:                               ; @.str.6
	.asciz	"Failed to get gpio 'reset'\n"

l_.str.7:                               ; @.str.7
	.asciz	"busy"

	.comm	_GPIOD_IN,4,2                   ; @GPIOD_IN
l_.str.8:                               ; @.str.8
	.asciz	"Failed to get gpio 'busy'\n"

l_.str.9:                               ; @.str.9
	.asciz	"pervasive,thermal-zone"

l_.str.10:                              ; @.str.10
	.asciz	"Failed to get thermal zone: %s\n"

	.comm	_repaper_e1144cs021_mode,8,2    ; @repaper_e1144cs021_mode
	.comm	_repaper_e1144cs021_cs,4,2      ; @repaper_e1144cs021_cs
	.comm	_REPAPER_BORDER_BYTE_ZERO,8,3   ; @REPAPER_BORDER_BYTE_ZERO
	.comm	_repaper_e1190cs021_mode,8,2    ; @repaper_e1190cs021_mode
	.comm	_repaper_e1190cs021_cs,4,2      ; @repaper_e1190cs021_cs
	.comm	_REPAPER_BORDER_BYTE_SET,8,3    ; @REPAPER_BORDER_BYTE_SET
	.comm	_repaper_e2200cs021_mode,8,2    ; @repaper_e2200cs021_mode
	.comm	_repaper_e2200cs021_cs,4,2      ; @repaper_e2200cs021_cs
	.comm	_REPAPER_BORDER_BYTE_NONE,8,3   ; @REPAPER_BORDER_BYTE_NONE
l_.str.11:                              ; @.str.11
	.asciz	"border"

l_.str.12:                              ; @.str.12
	.asciz	"Failed to get gpio 'border'\n"

	.comm	_repaper_e2271cs021_mode,8,2    ; @repaper_e2271cs021_mode
	.comm	_repaper_e2271cs021_cs,4,2      ; @repaper_e2271cs021_cs
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_repaper_connector_hfuncs,4,2   ; @repaper_connector_hfuncs
	.comm	_repaper_connector_funcs,4,2    ; @repaper_connector_funcs
	.comm	_DRM_MODE_CONNECTOR_SPI,4,2     ; @DRM_MODE_CONNECTOR_SPI
	.comm	_repaper_pipe_funcs,4,2         ; @repaper_pipe_funcs
	.comm	_repaper_formats,4,2            ; @repaper_formats
l_.str.13:                              ; @.str.13
	.asciz	"SPI speed: %uMHz\n"

	.no_dead_strip	_repaper_probe
.subsections_via_symbols
