	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_attr                       ## -- Begin function get_attr
	.p2align	4, 0x90
_get_attr:                              ## @get_attr
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_strlen
	movl	%eax, %r15d
	leal	1(%r15), %r13d
	movl	%r13d, %edi
	callq	_heap_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	testl	%r15d, %r15d
	js	LBB0_4
## %bb.2:
	movl	%r13d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r14,%rbx), %edi
	callq	_tolower
	movb	%al, (%r14,%rbx)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_3
LBB0_4:
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r13d
	leaq	-80(%rbp), %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_memcpy
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.5:
	movl	%r13d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	-80(%rbp,%rbx), %edi
	callq	_tolower
	movb	%al, -80(%rbp,%rbx)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_6
LBB0_7:
	movslq	%r13d, %rbx
	movw	$8765, -80(%rbp,%rbx)           ## imm = 0x223D
	movb	$0, -78(%rbp,%rbx)
	leaq	-80(%rbp), %rsi
	movq	%r14, %rdi
	callq	_strstr
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	%rax, %r12
	addq	$2, %rbx
	addq	%rbx, %r12
	movq	%r12, %rdi
	movl	$34, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_12
## %bb.9:
	subl	%r12d, %eax
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
	subq	%r14, %r12
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	addq	%r12, %rbx
	jmp	LBB0_13
LBB0_10:
	xorl	%ebx, %ebx
	jmp	LBB0_14
LBB0_11:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
LBB0_12:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%r14, %rdi
	callq	_heap_free
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"name not found\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_attr                       ; -- Begin function get_attr
	.p2align	2
_get_attr:                              ; @get_attr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_strlen
	mov	x24, x0
	add	w23, w0, #1
	mov	x0, x23
	bl	_heap_alloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x19, x0
	mov	x1, x20
	mov	x2, x23
	bl	_memcpy
	tbnz	w24, #31, LBB0_4
; %bb.2:
	mov	x24, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x24]
	bl	_tolower
	strb	w0, [x24], #1
	subs	x23, x23, #1
	b.ne	LBB0_3
LBB0_4:
	mov	x0, x22
	bl	_strlen
	mov	x23, x0
	add	x24, sp, #8
	add	x0, sp, #8
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	cmp	w23, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w22, w23
	add	x25, sp, #8
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x25]
	bl	_tolower
	strb	w0, [x25], #1
	subs	x22, x22, #1
	b.ne	LBB0_6
LBB0_7:
	sxtw	x8, w23
	mov	w9, #8765
	strh	w9, [x24, x8]
	add	x22, x8, #2
	strb	wzr, [x24, x22]
	add	x1, sp, #8
	mov	x0, x19
	bl	_strstr
	cbz	x0, LBB0_11
; %bb.8:
	add	x22, x0, x22
	mov	x0, x22
	mov	w1, #34
	bl	_strchr
	cbz	x0, LBB0_12
; %bb.9:
	sub	w8, w0, w22
	str	w8, [x21]
	sub	x8, x22, x19
	add	x20, x20, x8
	b	LBB0_13
LBB0_10:
	mov	x20, #0
	b	LBB0_14
LBB0_11:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
LBB0_12:
	mov	x20, #0
LBB0_13:
	mov	x0, x19
	bl	_heap_free
LBB0_14:
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	mov	x0, x20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"name not found\n"

.subsections_via_symbols
