	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function beep
_beep:                                  ## @beep
	.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
	testl	%edi, %edi
	je	LBB0_1
## %bb.2:
	movl	$1193181, %eax                  ## imm = 0x1234DD
	xorl	%edx, %edx
	divl	%edi
	movl	%eax, %ebx
	movl	$182, %edi
	movl	$67, %esi
	callq	_outb
	xorl	%eax, %eax
	callq	_io_delay
	movl	%ebx, %edi
	movl	$66, %esi
	callq	_outb
	xorl	%eax, %eax
	callq	_io_delay
	shrl	$8, %ebx
	movl	%ebx, %edi
	movl	$66, %esi
	callq	_outb
	xorl	%eax, %eax
	callq	_io_delay
	movl	$3, %ebx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movl	$97, %edi
	callq	_inb
	xorl	%eax, %eax
	callq	_io_delay
	movl	%ebx, %edi
	movl	$97, %esi
	callq	_outb
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_io_delay                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_beep
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function beep
_beep:                                  ; @beep
	.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
	cbz	w0, LBB0_2
; %bb.1:
	mov	w8, #13533
	movk	w8, #18, lsl #16
	udiv	w19, w8, w0
	mov	w0, #182
	mov	w1, #67
	bl	_outb
	bl	_io_delay
	mov	x0, x19
	mov	w1, #66
	bl	_outb
	bl	_io_delay
	lsr	w0, w19, #8
	mov	w1, #66
	bl	_outb
	bl	_io_delay
	mov	w19, #3
	b	LBB0_3
LBB0_2:
	mov	w19, #0
LBB0_3:
	mov	w0, #97
	bl	_inb
	bl	_io_delay
	mov	x0, x19
	mov	w1, #97
	bl	_outb
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_io_delay
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_beep
.subsections_via_symbols
