	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_icon
_set_icon:                              ## @set_icon
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %r13
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_sysfs_rwsema@GOTPCREL(%rip), %rdi
	callq	_down_write
	movq	%rbx, %rdi
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	%rax, %r12
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movq	_lcdMap@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jge	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rdi
	cmpb	$46, (%rdi,%rbx,8)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%rdi,%rbx,8), %esi
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdi
	jmp	LBB0_6
LBB0_9:
	movq	_sysfs_rwsema@GOTPCREL(%rip), %rdi
	callq	_up_write
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subq	(%rax), %r13
	jmp	LBB0_8
LBB0_10:
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_setChar
LBB0_7:
	movq	_sysfs_rwsema@GOTPCREL(%rip), %rdi
	callq	_up_write
LBB0_8:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_sysfs_rwsema,4,2               ## @sysfs_rwsema
	.comm	_ENODEV,8,3                     ## @ENODEV
	.comm	_lcdMap,8,3                     ## @lcdMap
	.no_dead_strip	_set_icon
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_icon
_set_icon:                              ; @set_icon
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x3
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
Lloh0:
	adrp	x0, _sysfs_rwsema@GOTPAGE
Lloh1:
	ldr	x0, [x0, _sysfs_rwsema@GOTPAGEOFF]
	bl	_down_write
	mov	x0, x22
	bl	_dev_get_drvdata
	cbz	x0, LBB0_7
; %bb.1:
	mov	x22, x0
Lloh2:
	adrp	x24, _lcdMap@GOTPAGE
Lloh3:
	ldr	x24, [x24, _lcdMap@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x25, #0
	mov	x23, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x23, x23, #1
	bl	_ARRAY_SIZE
	add	x25, x25, #8
	cmp	x23, w0, sxtw
	b.ge	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x24]
	ldrb	w8, [x0, x25]
	cmp	w8, #46
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, x25
	ldr	w1, [x8, #4]
	mov	x0, x21
	mov	x2, x19
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x24]
	b	LBB0_3
LBB0_7:
Lloh4:
	adrp	x0, _sysfs_rwsema@GOTPAGE
Lloh5:
	ldr	x0, [x0, _sysfs_rwsema@GOTPAGEOFF]
	bl	_up_write
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	neg	x19, x8
	b	LBB0_10
LBB0_8:
	mov	x0, x22
	mov	x1, x23
	mov	x2, x20
	bl	_setChar
LBB0_9:
Lloh9:
	adrp	x0, _sysfs_rwsema@GOTPAGE
Lloh10:
	ldr	x0, [x0, _sysfs_rwsema@GOTPAGEOFF]
	bl	_up_write
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_sysfs_rwsema,4,2               ; @sysfs_rwsema
	.comm	_ENODEV,8,3                     ; @ENODEV
	.comm	_lcdMap,8,3                     ; @lcdMap
	.no_dead_strip	_set_icon
.subsections_via_symbols
