	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_bell
_set_bell:                              ## @set_bell
	.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
	movl	%esi, %ebx
	xorl	%eax, %eax
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rax
	cmpq	$288, %rax                      ## imm = 0x120
	je	LBB0_8
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$176, 384(%rdi,%rax,4)
	jne	LBB0_7
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$232, 392(%rdi,%rax,4)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$48, 404(%rdi,%rax,4)
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$228, 408(%rdi,%rax,4)
	jne	LBB0_7
## %bb.5:
	testl	%edx, %edx
	je	LBB0_6
## %bb.10:
	movl	388(%rdi,%rax,4), %ebx
	leal	-32(%rbx), %eax
	cmpl	$95, %eax
	movl	$32, %esi
	cmovbl	%ebx, %esi
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %edx
	callq	_printf
	jmp	LBB0_9
LBB0_8:
	leaq	L_.str.1(%rip), %rdi
	callq	_warn
	movl	$-1, %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_6:
	movl	%ebx, 388(%rdi,%rax,4)
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"  bell=%c (0x%x)"

L_.str.1:                               ## @.str.1
	.asciz	"bell not found"

	.no_dead_strip	_set_bell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_bell
_set_bell:                              ; @set_bell
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	w8, #408
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x8, x8, #4
	cmp	x8, #1560
	b.eq	LBB0_8
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x0, x8
	ldur	w10, [x9, #-24]
	cmp	w10, #176
	b.ne	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldur	w9, [x9, #-16]
	cmp	w9, #232
	b.ne	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x0, x8
	ldur	w9, [x9, #-4]
	cmp	w9, #48
	b.ne	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w9, [x0, x8]
	cmp	w9, #228
	b.ne	LBB0_1
; %bb.6:
	add	x8, x0, x8
	cbz	w2, LBB0_10
; %bb.7:
	ldur	w19, [x8, #-20]
	sub	w8, w19, #32
	mov	w9, #32
	cmp	w8, #95
	csel	w1, w19, w9, lo
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x19
	bl	_printf
	b	LBB0_9
LBB0_8:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
	mov	w19, #-1
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
	stur	w19, [x8, #-20]
	b	LBB0_9
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"  bell=%c (0x%x)"

l_.str.1:                               ; @.str.1
	.asciz	"bell not found"

	.no_dead_strip	_set_bell
.subsections_via_symbols
