	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lmc_ds3_set_status
_lmc_ds3_set_status:                    ## @lmc_ds3_set_status
	.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	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r14
	cmpq	$0, 8(%rsi)
	movq	8(%rbx), %rax
	je	LBB0_5
## %bb.3:
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movq	_LMC_CTL_CABLE_LENGTH_GT_100FT@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_1:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*8(%rax)
	movq	(%rbx), %rsi
	movq	16(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	jmp	LBB0_15
LBB0_5:
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	_LMC_CTL_CABLE_LENGTH_LT_100FT@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lmc_ds3_set_100ft
LBB0_8:
	cmpq	$0, (%r14)
	movq	(%rbx), %rax
	je	LBB0_11
## %bb.9:
	testq	%rax, %rax
	jne	LBB0_14
## %bb.10:
	movq	_LMC_CTL_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	_LMC_CTL_OFF@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_lmc_ds3_set_scram
LBB0_14:
	movq	%rbx, %rdi
	movq	%r14, %rsi
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_lmc_set_protocol               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LMC_CTL_CABLE_LENGTH_GT_100FT,4,2 ## @LMC_CTL_CABLE_LENGTH_GT_100FT
	.comm	_LMC_CTL_CABLE_LENGTH_LT_100FT,4,2 ## @LMC_CTL_CABLE_LENGTH_LT_100FT
	.comm	_LMC_CTL_ON,4,2                 ## @LMC_CTL_ON
	.comm	_LMC_CTL_OFF,4,2                ## @LMC_CTL_OFF
	.no_dead_strip	_lmc_ds3_set_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lmc_ds3_set_status
_lmc_ds3_set_status:                    ; @lmc_ds3_set_status
	.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, x0
	cbz	x1, LBB0_4
; %bb.1:
	mov	x20, x1
	ldr	x9, [x1, #8]
	ldr	x8, [x19, #8]
	cbz	x9, LBB0_5
; %bb.2:
	cbnz	x8, LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _LMC_CTL_CABLE_LENGTH_GT_100FT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LMC_CTL_CABLE_LENGTH_GT_100FT@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
	ldp	x1, x8, [x19, #8]
	ldr	x8, [x8, #8]
	mov	x0, x19
	blr	x8
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x1, [x19]
	mov	x0, x19
	blr	x8
	mov	x0, x19
	mov	x1, #0
	b	LBB0_15
LBB0_5:
	cbz	x8, LBB0_8
; %bb.6:
Lloh2:
	adrp	x8, _LMC_CTL_CABLE_LENGTH_LT_100FT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LMC_CTL_CABLE_LENGTH_LT_100FT@GOTPAGEOFF]
LBB0_7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lmc_ds3_set_100ft
LBB0_8:
	ldr	x9, [x20]
	ldr	x8, [x19]
	cbz	x9, LBB0_11
; %bb.9:
	cbnz	x8, LBB0_14
; %bb.10:
Lloh4:
	adrp	x8, _LMC_CTL_ON@GOTPAGE
Lloh5:
	ldr	x8, [x8, _LMC_CTL_ON@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
	cbz	x8, LBB0_14
; %bb.12:
Lloh6:
	adrp	x8, _LMC_CTL_OFF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LMC_CTL_OFF@GOTPAGEOFF]
LBB0_13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lmc_ds3_set_scram
LBB0_14:
	mov	x0, x19
	mov	x1, x20
LBB0_15:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lmc_set_protocol
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_LMC_CTL_CABLE_LENGTH_GT_100FT,4,2 ; @LMC_CTL_CABLE_LENGTH_GT_100FT
	.comm	_LMC_CTL_CABLE_LENGTH_LT_100FT,4,2 ; @LMC_CTL_CABLE_LENGTH_LT_100FT
	.comm	_LMC_CTL_ON,4,2                 ; @LMC_CTL_ON
	.comm	_LMC_CTL_OFF,4,2                ; @LMC_CTL_OFF
	.no_dead_strip	_lmc_ds3_set_status
.subsections_via_symbols
