	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function uds_max_width
_uds_max_width:                         ## @uds_max_width
	.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
	callq	_to_uds
	movq	%rax, %rbx
	movl	(%rax), %esi
	movq	_UDS_PAD_SINK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_vsp1_entity_get_pad_format
	movq	%rax, %r14
	movl	(%rbx), %esi
	movq	_UDS_PAD_SOURCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_vsp1_entity_get_pad_format
	movl	(%rax), %eax
	xorl	%edx, %edx
	divl	(%r14)
	movl	%eax, %ecx
	movl	$256, %eax                      ## imm = 0x100
	cmpl	$3, %ecx
	jb	LBB0_3
## %bb.1:
	movl	$512, %eax                      ## imm = 0x200
	cmpl	$5, %ecx
	jb	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpl	$9, %ecx
	setae	%al
	shll	$10, %eax
	addl	$1024, %eax                     ## imm = 0x400
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UDS_PAD_SINK,4,2               ## @UDS_PAD_SINK
	.comm	_UDS_PAD_SOURCE,4,2             ## @UDS_PAD_SOURCE
	.no_dead_strip	_uds_max_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function uds_max_width
_uds_max_width:                         ; @uds_max_width
	.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
	bl	_to_uds
	mov	x19, x0
	ldr	w1, [x0]
Lloh0:
	adrp	x8, _UDS_PAD_SINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _UDS_PAD_SINK@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_vsp1_entity_get_pad_format
	mov	x20, x0
	ldr	w1, [x19]
Lloh3:
	adrp	x8, _UDS_PAD_SOURCE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UDS_PAD_SOURCE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_vsp1_entity_get_pad_format
	ldr	w8, [x0]
	ldr	w9, [x20]
	udiv	w8, w8, w9
	cmp	w8, #3
	b.hs	LBB0_2
; %bb.1:
	mov	w0, #256
	b	LBB0_5
LBB0_2:
	cmp	w8, #5
	b.hs	LBB0_4
; %bb.3:
	mov	w0, #512
	b	LBB0_5
LBB0_4:
	mov	w9, #2048
	mov	w10, #1024
	cmp	w8, #9
	csel	w0, w10, w9, lo
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_UDS_PAD_SINK,4,2               ; @UDS_PAD_SINK
	.comm	_UDS_PAD_SOURCE,4,2             ; @UDS_PAD_SOURCE
	.no_dead_strip	_uds_max_width
.subsections_via_symbols
