	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlxreg_led_blink_set
_mlxreg_led_blink_set:                  ## @mlxreg_led_blink_set
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_cdev_to_priv
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	jne	LBB0_2
## %bb.1:
	cmpq	$0, (%r14)
	je	LBB0_6
LBB0_2:
	movq	_MLXREG_LED_BLINK_3HZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.3:
	cmpq	%rcx, (%r14)
	je	LBB0_6
LBB0_4:
	movq	_MLXREG_LED_BLINK_6HZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.5:
	cmpq	%rcx, (%r14)
	jne	LBB0_11
LBB0_6:
	movq	_MLXREG_LED_BLINK_6HZ@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_8
## %bb.7:
	movq	_MLXREG_LED_OFFSET_BLINK_6HZ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	jmp	LBB0_10
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_8:
	movq	_MLXREG_LED_BLINK_3HZ@GOTPCREL(%rip), %rdx
	movq	(%rax), %rsi
	cmpq	(%rdx), %rcx
	jne	LBB0_10
## %bb.9:
	movq	_MLXREG_LED_OFFSET_BLINK_3HZ@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rsi
LBB0_10:
	movq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_mlxreg_led_store_hw            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MLXREG_LED_BLINK_3HZ,8,3       ## @MLXREG_LED_BLINK_3HZ
	.comm	_MLXREG_LED_BLINK_6HZ,8,3       ## @MLXREG_LED_BLINK_6HZ
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_MLXREG_LED_OFFSET_BLINK_6HZ,8,3 ## @MLXREG_LED_OFFSET_BLINK_6HZ
	.comm	_MLXREG_LED_OFFSET_BLINK_3HZ,8,3 ## @MLXREG_LED_OFFSET_BLINK_3HZ
	.no_dead_strip	_mlxreg_led_blink_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlxreg_led_blink_set
_mlxreg_led_blink_set:                  ; @mlxreg_led_blink_set
	.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, x2
	mov	x20, x1
	bl	_cdev_to_priv
	ldr	x8, [x20]
Lloh0:
	adrp	x10, _MLXREG_LED_BLINK_6HZ@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MLXREG_LED_BLINK_6HZ@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MLXREG_LED_BLINK_3HZ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MLXREG_LED_BLINK_3HZ@GOTPAGEOFF]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x11, [x19]
	cbz	x11, LBB0_6
LBB0_2:
	ldr	x11, [x9]
	cmp	x8, x11
	b.ne	LBB0_4
; %bb.3:
	ldr	x11, [x19]
	cmp	x11, x8
	b.eq	LBB0_6
LBB0_4:
	ldr	x11, [x10]
	cmp	x8, x11
	b.ne	LBB0_8
; %bb.5:
	ldr	x11, [x19]
	cmp	x11, x8
	b.ne	LBB0_8
LBB0_6:
	ldr	x10, [x10]
	cmp	x8, x10
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x0]
Lloh4:
	adrp	x9, _MLXREG_LED_OFFSET_BLINK_6HZ@GOTPAGE
Lloh5:
	ldr	x9, [x9, _MLXREG_LED_OFFSET_BLINK_6HZ@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	add	x1, x9, x8
	b	LBB0_11
LBB0_8:
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x9, [x9]
	ldr	x1, [x0]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
Lloh10:
	adrp	x8, _MLXREG_LED_OFFSET_BLINK_3HZ@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MLXREG_LED_OFFSET_BLINK_3HZ@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	add	x1, x8, x1
LBB0_11:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mlxreg_led_store_hw
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MLXREG_LED_BLINK_3HZ,8,3       ; @MLXREG_LED_BLINK_3HZ
	.comm	_MLXREG_LED_BLINK_6HZ,8,3       ; @MLXREG_LED_BLINK_6HZ
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_MLXREG_LED_OFFSET_BLINK_6HZ,8,3 ; @MLXREG_LED_OFFSET_BLINK_6HZ
	.comm	_MLXREG_LED_OFFSET_BLINK_3HZ,8,3 ; @MLXREG_LED_OFFSET_BLINK_3HZ
	.no_dead_strip	_mlxreg_led_blink_set
.subsections_via_symbols
