	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pms_format
_pms_format:                            ## @pms_format
	.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	_standard@GOTPCREL(%rip), %rax
	movw	%di, (%rax)
	movq	_decoder@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_PHILIPS1@GOTPCREL(%rip), %rcx
	movl	$66, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_2
## %bb.1:
	movq	_PHILIPS2@GOTPCREL(%rip), %rcx
	movl	$138, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_3
LBB0_2:
	cmpw	$3, %di
	ja	LBB0_3
## %bb.4:
	movswq	%di, %rax
	leaq	L_switch.table.pms_format(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	leaq	L_switch.table.pms_format.1(%rip), %rdx
	movl	(%rdx,%rax,4), %r14d
	movl	%ebx, %edi
	movl	$13, %esi
	movl	$254, %edx
	callq	_pms_i2c_andor
	movl	%ebx, %edi
	movl	$15, %esi
	movl	$63, %edx
	movl	%r14d, %ecx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_pms_i2c_andor                  ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_standard,2,1                   ## @standard
	.comm	_decoder,8,3                    ## @decoder
	.comm	_PHILIPS1,8,3                   ## @PHILIPS1
	.comm	_PHILIPS2,8,3                   ## @PHILIPS2
	.no_dead_strip	_pms_format
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ## @switch.table.pms_format
L_switch.table.pms_format:
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.pms_format.1
L_switch.table.pms_format.1:
	.long	128                             ## 0x80
	.long	64                              ## 0x40
	.long	0                               ## 0x0
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pms_format
_pms_format:                            ; @pms_format
	.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
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _standard@GOTPAGE
Lloh1:
	ldr	x8, [x8, _standard@GOTPAGEOFF]
Lloh2:
	adrp	x9, _decoder@GOTPAGE
Lloh3:
	ldr	x9, [x9, _decoder@GOTPAGEOFF]
Lloh4:
	strh	w0, [x8]
Lloh5:
	ldr	x8, [x9]
Lloh6:
	adrp	x9, _PHILIPS1@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PHILIPS1@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	w19, #66
	cmp	w0, #3
	b.ls	LBB0_4
	b	LBB0_5
LBB0_2:
Lloh9:
	adrp	x9, _PHILIPS2@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PHILIPS2@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	w19, #138
	cmp	w0, #3
	b.hi	LBB0_5
LBB0_4:
	sbfiz	x8, x0, #2, #32
Lloh12:
	adrp	x9, l_switch.table.pms_format@PAGE
Lloh13:
	add	x9, x9, l_switch.table.pms_format@PAGEOFF
	ldr	w3, [x9, x8]
Lloh14:
	adrp	x9, l_switch.table.pms_format.1@PAGE
Lloh15:
	add	x9, x9, l_switch.table.pms_format.1@PAGEOFF
	ldr	w20, [x9, x8]
	mov	x0, x19
	mov	w1, #13
	mov	w2, #254
	bl	_pms_i2c_andor
	mov	x0, x19
	mov	w1, #15
	mov	w2, #63
	mov	x3, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pms_i2c_andor
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_standard,2,1                   ; @standard
	.comm	_decoder,8,3                    ; @decoder
	.comm	_PHILIPS1,8,3                   ; @PHILIPS1
	.comm	_PHILIPS2,8,3                   ; @PHILIPS2
	.no_dead_strip	_pms_format
	.section	__TEXT,__literal16,16byte_literals
	.p2align	2                               ; @switch.table.pms_format
l_switch.table.pms_format:
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.pms_format.1
l_switch.table.pms_format.1:
	.long	128                             ; 0x80
	.long	64                              ; 0x40
	.long	0                               ; 0x0
	.long	0                               ; 0x0

.subsections_via_symbols
