	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function joy_fill_elem
_joy_fill_elem:                         ## @joy_fill_elem
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	_kIOHIDElementCookieKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movq	_kCFNumberIntType@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rdx
	movl	%eax, %edi
	callq	_CFNumberGetValue
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movslq	-20(%rbp), %rax
	movq	%rax, 8(%r14)
LBB0_3:
	movq	_kIOHIDElementMinKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movq	_kCFNumberIntType@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rdx
	movl	%eax, %edi
	callq	_CFNumberGetValue
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	-20(%rbp), %eax
	movl	%eax, (%r14)
LBB0_6:
	movq	_kIOHIDElementMaxKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_CFDictionaryGetValue
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movq	_kCFNumberIntType@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-20(%rbp), %rdx
	movl	%eax, %edi
	callq	_CFNumberGetValue
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movl	-20(%rbp), %eax
	movl	%eax, 4(%r14)
LBB0_9:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kIOHIDElementCookieKey,4,2     ## @kIOHIDElementCookieKey
	.comm	_kCFNumberIntType,4,2           ## @kCFNumberIntType
	.comm	_kIOHIDElementMinKey,4,2        ## @kIOHIDElementMinKey
	.comm	_kIOHIDElementMaxKey,4,2        ## @kIOHIDElementMaxKey
	.no_dead_strip	_joy_fill_elem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function joy_fill_elem
_joy_fill_elem:                         ; @joy_fill_elem
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	mov	w1, #0
	mov	w2, #16
	bl	_memset
Lloh0:
	adrp	x8, _kIOHIDElementCookieKey@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kIOHIDElementCookieKey@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x20
	bl	_CFDictionaryGetValue
Lloh3:
	adrp	x21, _kCFNumberIntType@GOTPAGE
Lloh4:
	ldr	x21, [x21, _kCFNumberIntType@GOTPAGEOFF]
	cbz	w0, LBB0_3
; %bb.1:
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_CFNumberGetValue
	cbz	x0, LBB0_3
; %bb.2:
	ldrsw	x8, [sp, #12]
	str	x8, [x19, #8]
LBB0_3:
Lloh5:
	adrp	x8, _kIOHIDElementMinKey@GOTPAGE
Lloh6:
	ldr	x8, [x8, _kIOHIDElementMinKey@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x20
	bl	_CFDictionaryGetValue
	cbz	w0, LBB0_6
; %bb.4:
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_CFNumberGetValue
	cbz	x0, LBB0_6
; %bb.5:
	ldr	w8, [sp, #12]
	str	w8, [x19]
LBB0_6:
Lloh8:
	adrp	x8, _kIOHIDElementMaxKey@GOTPAGE
Lloh9:
	ldr	x8, [x8, _kIOHIDElementMaxKey@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
	mov	x0, x20
	bl	_CFDictionaryGetValue
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_CFNumberGetValue
	cbz	x0, LBB0_9
; %bb.8:
	ldr	w8, [sp, #12]
	str	w8, [x19, #4]
LBB0_9:
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_kIOHIDElementCookieKey,4,2     ; @kIOHIDElementCookieKey
	.comm	_kCFNumberIntType,4,2           ; @kCFNumberIntType
	.comm	_kIOHIDElementMinKey,4,2        ; @kIOHIDElementMinKey
	.comm	_kIOHIDElementMaxKey,4,2        ; @kIOHIDElementMaxKey
	.no_dead_strip	_joy_fill_elem
.subsections_via_symbols
