	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dst_set_tone
_dst_set_tone:                          ## @dst_set_tone
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rdi
	movl	%esi, (%rdi)
	movq	8(%rdi), %rax
	movq	_DST_TYPE_IS_SAT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.3:
	cmpl	$128, %esi
	je	LBB0_7
## %bb.4:
	cmpl	$129, %esi
	jne	LBB0_8
## %bb.5:
	movq	_DST_TYPE_HAS_OBS_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	24(%rdi), %rax
	testl	%ecx, 16(%rdi)
	je	LBB0_9
## %bb.6:
	movl	$0, 8(%rax)
	popq	%rbp
	jmp	_dst_tone_power_cmd             ## TAILCALL
LBB0_1:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_7:
	movq	24(%rdi), %rax
	movl	$2, 8(%rax)
	popq	%rbp
	jmp	_dst_tone_power_cmd             ## TAILCALL
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_9:
	movl	$255, 8(%rax)
	popq	%rbp
	jmp	_dst_tone_power_cmd             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DST_TYPE_IS_SAT,8,3            ## @DST_TYPE_IS_SAT
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_DST_TYPE_HAS_OBS_REGS,4,2      ## @DST_TYPE_HAS_OBS_REGS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_dst_set_tone
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dst_set_tone
_dst_set_tone:                          ; @dst_set_tone
	.cfi_startproc
; %bb.0:
	ldr	x0, [x0]
	str	w1, [x0]
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _DST_TYPE_IS_SAT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DST_TYPE_IS_SAT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	cmp	w1, #128
	b.eq	LBB0_6
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_7
; %bb.3:
	ldr	w9, [x0, #16]
Lloh3:
	adrp	x8, _DST_TYPE_HAS_OBS_REGS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DST_TYPE_HAS_OBS_REGS@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	ldr	x8, [x0, #24]
	tst	w10, w9
	b.eq	LBB0_9
; %bb.4:
	str	wzr, [x8, #8]
	b	_dst_tone_power_cmd
LBB0_5:
Lloh6:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	ldr	x8, [x0, #24]
	mov	w9, #2
	str	w9, [x8, #8]
	b	_dst_tone_power_cmd
LBB0_7:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_9:
	mov	w9, #255
	str	w9, [x8, #8]
	b	_dst_tone_power_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_DST_TYPE_IS_SAT,8,3            ; @DST_TYPE_IS_SAT
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_DST_TYPE_HAS_OBS_REGS,4,2      ; @DST_TYPE_HAS_OBS_REGS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_dst_set_tone
.subsections_via_symbols
