	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_shortcut_notify
_on_shortcut_notify:                    ## @on_shortcut_notify
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	24(%rbx), %rax
	xorl	%edi, %edi
	cmpq	%r14, (%rax)
	sete	%dil
	callq	_assert
	movq	24(%rbx), %rdi
	leaq	-28(%rbp), %rsi
	callq	_peek_content
	movq	8(%rbx), %rcx
	movq	_SIZE_MAX@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rdx
	cmpq	(%rdx), %rcx
	jge	LBB0_3
## %bb.2:
	movq	%rcx, (%rdx)
LBB0_3:
	cmpl	$0, -28(%rbp)
	je	LBB0_5
## %bb.4:
	movq	(%rax), %rcx
	leaq	32(%rbx), %r15
	movq	%rcx, 32(%rbx)
	movq	_h2o_socket_buffer_prototype@GOTPCREL(%rip), %rsi
	movq	%rax, %rdi
	callq	_h2o_buffer_init
	movq	24(%rbx), %rax
	movq	$0, (%rax)
	movq	$0, 24(%rbx)
	movq	%r15, %rax
LBB0_5:
	cmpl	$0, 16(%rbx)
	jne	LBB0_8
## %bb.6:
	cmpl	$0, (%rbx)
	jne	LBB0_8
## %bb.7:
	movl	-28(%rbp), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movq	%rax, %rdx
	callq	_h2o_mruby_sender_do_send_buffer
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIZE_MAX,8,3                   ## @SIZE_MAX
	.comm	_h2o_socket_buffer_prototype,4,2 ## @h2o_socket_buffer_prototype
	.no_dead_strip	_on_shortcut_notify
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_shortcut_notify
_on_shortcut_notify:                    ; @on_shortcut_notify
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x0
	ldr	x19, [x0]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	cmp	x8, x0
	cset	w0, eq
	bl	_assert
	ldr	x0, [x19, #24]
	add	x1, sp, #12
	bl	_peek_content
	mov	x2, x0
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _SIZE_MAX@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SIZE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_3
; %bb.1:
	ldr	x9, [x2]
	ldr	x10, [x9]
	cmp	x8, x10
	b.ge	LBB0_3
; %bb.2:
	str	x8, [x9]
LBB0_3:
	ldr	w8, [sp, #12]
	cbz	w8, LBB0_5
; %bb.4:
	ldr	x8, [x2]
	mov	x21, x19
	str	x8, [x21, #32]!
Lloh3:
	adrp	x1, _h2o_socket_buffer_prototype@GOTPAGE
Lloh4:
	ldr	x1, [x1, _h2o_socket_buffer_prototype@GOTPAGEOFF]
	mov	x0, x2
	bl	_h2o_buffer_init
	ldur	x8, [x21, #-8]
	str	xzr, [x8]
	stur	xzr, [x21, #-8]
	mov	x2, x21
LBB0_5:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_8
; %bb.6:
	ldr	w8, [x19]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x19
	bl	_h2o_mruby_sender_do_send_buffer
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_SIZE_MAX,8,3                   ; @SIZE_MAX
	.comm	_h2o_socket_buffer_prototype,4,2 ; @h2o_socket_buffer_prototype
	.no_dead_strip	_on_shortcut_notify
.subsections_via_symbols
